File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
approvaltests/docs/how_to Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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
121121void 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
You can’t perform that action at this time.
0 commit comments