Skip to content

Commit 2385fe0

Browse files
Refactoring Code
1 parent 710a932 commit 2385fe0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎core-java/src/test/java/com/baeldung/java/conversion/StringConversionTest.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ public void whenConvertedToLocalDateTime_thenCorrect() {
119119
int afterConvCalendarDay = 03;
120120
Month afterConvCalendarMonth = Month.DECEMBER;
121121
int afterConvCalendarYear = 2007;
122-
LocalDateTime afterConvDate = new UseLocalDateTime().getLocalDateTimeUsingParseMethod(str);
122+
LocalDateTime afterConvDate
123+
= new UseLocalDateTime().getLocalDateTimeUsingParseMethod(str);
123124

124125
assertEquals(afterConvDate.getDayOfMonth(), afterConvCalendarDay);
125126
assertEquals(afterConvDate.getMonth(), afterConvCalendarMonth);

0 commit comments

Comments
 (0)