Method name typo
This commit is contained in:
parent
0af6112abf
commit
95aff67d58
@ -18,7 +18,7 @@ class ExceptionAssertionUnitTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void whenDerivedExceptionThrown_thenAssertionSucceds() {
|
void whenDerivedExceptionThrown_thenAssertionSucceeds() {
|
||||||
Exception exception = assertThrows(RuntimeException.class, () -> Integer.parseInt("1a"));
|
Exception exception = assertThrows(RuntimeException.class, () -> Integer.parseInt("1a"));
|
||||||
|
|
||||||
String expectedMessage = "For input string";
|
String expectedMessage = "For input string";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user