ЛР2 фикс последнего теста

This commit is contained in:
ityurner02@mail.ru 2023-03-14 08:41:04 +04:00
parent 46ecf5eac3
commit dfe84a7b21

View File

@ -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"));
}
}