From a189e412719f49257d3a100a5dd39d0e925259b0 Mon Sep 17 00:00:00 2001 From: "ing.conti" Date: Mon, 24 May 2021 18:36:55 +0200 Subject: [PATCH 1/2] fix POM for compiler. --- pom.xml | 2 ++ src/test/java/MyApp/DividerTest.java | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index b8910f9..34ae2d1 100644 --- a/pom.xml +++ b/pom.xml @@ -8,12 +8,14 @@ AM00 1.0-SNAPSHOT + org.junit.jupiter junit-jupiter-api 5.3.1 test + AM00 diff --git a/src/test/java/MyApp/DividerTest.java b/src/test/java/MyApp/DividerTest.java index 44e74f7..b44b7a6 100644 --- a/src/test/java/MyApp/DividerTest.java +++ b/src/test/java/MyApp/DividerTest.java @@ -1,7 +1,6 @@ package MyApp; -import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -16,7 +15,7 @@ void doCalc() { //assertEquals(1.5, r); // to work: - assertEquals(1, r); // as we badly did nto consider int/float issues. + assertEquals(1, r); // as we badly did not consider int/float issues. } } \ No newline at end of file From 61cfcf27c5d04053e44c8c4dc869ac3a74e8e862 Mon Sep 17 00:00:00 2001 From: "ing.conti" Date: Tue, 25 May 2021 07:24:40 +0200 Subject: [PATCH 2/2] fix POM for compiler. --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 34ae2d1..7047e36 100644 --- a/pom.xml +++ b/pom.xml @@ -22,8 +22,8 @@ UTF-8 - 1.8 - 1.8 + 15 + 15