diff options
Diffstat (limited to 'container-search/src/test/java/com/yahoo/prelude/semantics/test/NoStemmingTestCase.java')
-rw-r--r-- | container-search/src/test/java/com/yahoo/prelude/semantics/test/NoStemmingTestCase.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/container-search/src/test/java/com/yahoo/prelude/semantics/test/NoStemmingTestCase.java b/container-search/src/test/java/com/yahoo/prelude/semantics/test/NoStemmingTestCase.java index fbdd72fe6ac..04bc3249efe 100644 --- a/container-search/src/test/java/com/yahoo/prelude/semantics/test/NoStemmingTestCase.java +++ b/container-search/src/test/java/com/yahoo/prelude/semantics/test/NoStemmingTestCase.java @@ -1,7 +1,7 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.prelude.semantics.test; -import org.junit.Test; +import org.junit.jupiter.api.Test; /** * Tests a case reported by tularam @@ -16,20 +16,20 @@ public class NoStemmingTestCase extends RuleBaseAbstractTestCase { /** Should rewrite correctly */ @Test - public void testCorrectRewriting1() { - assertSemantics("+(AND i:arts i:sciences TRUE) -i:b","i:as -i:b"); + void testCorrectRewriting1() { + assertSemantics("+(AND i:arts i:sciences TRUE) -i:b", "i:as -i:b"); } /** Should rewrite correctly too */ @Test - public void testCorrectRewriting2() { - assertSemantics("+(AND i:arts i:sciences i:crafts TRUE) -i:b","i:asc -i:b"); + void testCorrectRewriting2() { + assertSemantics("+(AND i:arts i:sciences i:crafts TRUE) -i:b", "i:asc -i:b"); } /** Should not rewrite */ @Test - public void testNoRewriting() { - assertSemantics("+i:a -i:s","i:a -i:s"); + void testNoRewriting() { + assertSemantics("+i:a -i:s", "i:a -i:s"); } } |