Skip to content

Commit 0ab2836

Browse files
authored
Update StringToBooleanUnitTest.java
1 parent 9447254 commit 0ab2836

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core-java-modules/core-java-lang-3/src/test/java/com/baeldung/stringtoboolean/StringToBooleanUnitTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public void givenStringTrue_whenUsingGetBoolean_thenFalse() {
2424
@Test
2525
public void givenSystemProperty_whenUsingGetBoolean_thenTrue() {
2626
System.setProperty("CODING_IS_FUN", "true");
27+
2728
assertThat(Boolean.getBoolean("CODING_IS_FUN")).isTrue();
2829
}
2930
}

0 commit comments

Comments
 (0)