Skip to content

Commit 5ed071b

Browse files
committed
[int-to-boolean] fix formatting
1 parent 8b74470 commit 5ed071b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core-java-modules/core-java-numbers-4/src/test/java/com/baeldung/booleantoint/IntToBooleanUnitTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ void whenUsingBooleanUtilsToBoolean_thenGetExpectedResult() {
5252

5353
assertTrue(BooleanUtils.toBoolean(1, trueValue, falseValue));
5454
assertFalse(BooleanUtils.toBoolean(0, trueValue, falseValue));
55-
assertThrows(IllegalArgumentException.class, () ->BooleanUtils.toBoolean(42, trueValue, falseValue));
56-
assertThrows(IllegalArgumentException.class, () ->BooleanUtils.toBoolean(-42, trueValue, falseValue));
55+
assertThrows(IllegalArgumentException.class, () -> BooleanUtils.toBoolean(42, trueValue, falseValue));
56+
assertThrows(IllegalArgumentException.class, () -> BooleanUtils.toBoolean(-42, trueValue, falseValue));
5757
}
5858

5959
}

0 commit comments

Comments
 (0)