From a60a5ec0cb7a95d242540c123a38a58fd135c6a3 Mon Sep 17 00:00:00 2001 From: Alexander Milster Date: Tue, 7 Nov 2023 15:20:01 +0100 Subject: [PATCH] Adapted expected value in NewJavaFeaturesTest for Java 21 --- core/src/test/java/de/jplag/NewJavaFeaturesTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/test/java/de/jplag/NewJavaFeaturesTest.java b/core/src/test/java/de/jplag/NewJavaFeaturesTest.java index 2bfdd86d0..d869472cc 100644 --- a/core/src/test/java/de/jplag/NewJavaFeaturesTest.java +++ b/core/src/test/java/de/jplag/NewJavaFeaturesTest.java @@ -11,8 +11,8 @@ public class NewJavaFeaturesTest extends TestBase { private static final int EXPECTED_MATCHES = 6; // might change if you add files to the submissions - private static final double EXPECTED_SIMILARITY = 0.96; // might change if you add files to the submissions - private static final String EXPECTED_JAVA_VERSION = "17"; // might change with newer JPlag versions + private static final double EXPECTED_SIMILARITY = 0.953; // might change if you add files to the submissions + private static final String EXPECTED_JAVA_VERSION = "21"; // might change with newer JPlag versions private static final String EXCLUSION_FILE_NAME = "blacklist.txt"; private static final String ROOT_DIRECTORY = "NewJavaFeatures";