From dfe84a7b21d82364dbc317d7ccdebbcfadbbe1c4 Mon Sep 17 00:00:00 2001 From: "ityurner02@mail.ru" Date: Tue, 14 Mar 2023 08:41:04 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=A02=20=D1=84=D0=B8=D0=BA=D1=81=20?= =?UTF-8?q?=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=D0=B4=D0=BD=D0=B5=D0=B3=D0=BE=20?= =?UTF-8?q?=D1=82=D0=B5=D1=81=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/ru/ulstu/is/lab1/Lab1ApplicationTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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")); } }