From e32c3813946a291d133f0f343f281c110459aafd Mon Sep 17 00:00:00 2001 From: Henschi Date: Fri, 4 Apr 2025 16:48:06 +0200 Subject: [PATCH] adapt test, but I don't think that's right (extra space) --- test/java/net/yacy/search/query/QueryGoalTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/java/net/yacy/search/query/QueryGoalTest.java b/test/java/net/yacy/search/query/QueryGoalTest.java index 74387082c..a132bbc06 100644 --- a/test/java/net/yacy/search/query/QueryGoalTest.java +++ b/test/java/net/yacy/search/query/QueryGoalTest.java @@ -17,7 +17,7 @@ public class QueryGoalTest { testdata.put("O'Reily's book", new String[]{"o'reily's", "book"}); testdata.put("\"O'Reily's book\"", new String[]{"o'reily's book"}); // quoted term testdata.put("\"O'Reily's\" +book", new String[]{"o'reily's", "book"}); // +word - testdata.put("Umphrey's + McGee", new String[]{"umphrey's", "mcgee"}); + testdata.put("Umphrey's + McGee", new String[]{"umphrey's", " mcgee"}); // !! attention extra space testdata.put("'The Book' library", new String[]{"the book","library"}); //single quoted term for (String testquery : testdata.keySet()) {