ЛР2 фикс последнего теста
This commit is contained in:
parent
46ecf5eac3
commit
dfe84a7b21
@ -58,7 +58,6 @@ class Lab1ApplicationTests {
|
||||
}
|
||||
@Test
|
||||
void testNumberFormatException() {
|
||||
final String res = methodService.Sum("п", 3, "int");
|
||||
Assertions.assertThrows(NumberFormatException.class, () -> methodService.Sum(5, 3, "int"));
|
||||
Assertions.assertThrows(NumberFormatException.class, () -> methodService.Sum("п", 3, "int"));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user