aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/prelude/semantics/test/SynonymTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/test/java/com/yahoo/prelude/semantics/test/SynonymTestCase.java')
-rw-r--r--container-search/src/test/java/com/yahoo/prelude/semantics/test/SynonymTestCase.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/container-search/src/test/java/com/yahoo/prelude/semantics/test/SynonymTestCase.java b/container-search/src/test/java/com/yahoo/prelude/semantics/test/SynonymTestCase.java
index 8f69be2f710..65001cfcd44 100644
--- a/container-search/src/test/java/com/yahoo/prelude/semantics/test/SynonymTestCase.java
+++ b/container-search/src/test/java/com/yahoo/prelude/semantics/test/SynonymTestCase.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;
/**
* @author bratseth
@@ -9,7 +9,7 @@ import org.junit.Test;
public class SynonymTestCase {
@Test
- public void testReplacingBySynonyms() {
+ void testReplacingBySynonyms() {
var tester = new RuleBaseTester("synonyms.sr");
tester.assertSemantics("EQUIV index1:foo index1:baz index1:bar", "index1:foo");
tester.assertSemantics("EQUIV index1:foo index1:baz index1:bar", "index1:bar");
@@ -20,7 +20,7 @@ public class SynonymTestCase {
}
@Test
- public void testAddingSynonyms() {
+ void testAddingSynonyms() {
var tester = new RuleBaseTester("synonyms.sr");
tester.assertSemantics("EQUIV index2:foo index2:baz index2:bar", "index2:foo");
tester.assertSemantics("EQUIV index2:bar index2:foo index2:baz", "index2:bar");