Skip to content

Commit 6e8abe0

Browse files
committed
a reformat code
1 parent 5160130 commit 6e8abe0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

approvaltests-util-tests/src/test/java/com/spun/util/DateUtilsTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ public class DateUtilsTest
2323
@Test
2424
public void testToDate()
2525
{
26-
try(WithTimeZone i = new WithTimeZone()) {
26+
try (WithTimeZone i = new WithTimeZone())
27+
{
2728
LocalDateTime time = LocalDateTime.of(2000, Month.JANUARY, 2, 3, 4, 5);
2829
assertEquals("2 Jan 2000 03:04:05 GMT", DateUtils.toDateInUTC(time).toGMTString());
2930
assertEquals("2 Jan 2000 02:04:05 GMT", DateUtils.toDate(time, ZoneOffset.ofHours(1)).toGMTString());

0 commit comments

Comments
 (0)