diff --git a/src/test/java/ru/ulstu/is/lab1/Lab1ApplicationTests.java b/src/test/java/ru/ulstu/is/lab1/Lab1ApplicationTests.java index 12110ed..9be879c 100644 --- a/src/test/java/ru/ulstu/is/lab1/Lab1ApplicationTests.java +++ b/src/test/java/ru/ulstu/is/lab1/Lab1ApplicationTests.java @@ -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")); } }