Skip to content

Commit 8de0662

Browse files
committed
d updated markdown snippets
1 parent 21fe762 commit 8de0662

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

approvaltests/docs/how_to/PatternsForTestingDataAccessAndRendering.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,14 @@ We will start by showing you the test. We will point out a couple of important t
120120
@Test
121121
void testWithDatabaseAccess()
122122
{
123-
try (WithTimeZone withTimeZone = new WithTimeZone()) {
123+
try (WithTimeZone withTimeZone = new WithTimeZone())
124+
{
124125
Calendar day = DateUtils.asCalendar(DateUtils.parse("2020/01/02"));
125126
Approvals.verify(new LoadShiftsFromDatabase(day));
126127
}
127128
}
128129
```
129-
<sup><a href='/approvaltests-util-tests/src/test/java/com/spun/util/persistence/LoaderTest.java#L38-L47' title='Snippet source file'>snippet source</a> | <a href='#snippet-testing_executable_command' title='Start of snippet'>anchor</a></sup>
130+
<sup><a href='/approvaltests-util-tests/src/test/java/com/spun/util/persistence/LoaderTest.java#L38-L48' title='Snippet source file'>snippet source</a> | <a href='#snippet-testing_executable_command' title='Start of snippet'>anchor</a></sup>
130131
<!-- endSnippet -->
131132

132133
### Testing Executable Commands

0 commit comments

Comments
 (0)