Skip to content

Commit e356d28

Browse files
committed
Fix name of test and modifier
1 parent 9b0aa76 commit e356d28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎junit5/src/test/java/com/baeldung/ExceptionTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ void shouldThrowException() {
1717
}
1818

1919
@Test
20-
public void convertToIntNullParameterAssertThrows() {
20+
void assertThrowsException() {
2121
String str = null;
2222
assertThrows(IllegalArgumentException.class, () -> {
2323
Integer.valueOf(str);

0 commit comments

Comments
 (0)