aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/prelude/semantics/test/AlibabaTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/test/java/com/yahoo/prelude/semantics/test/AlibabaTestCase.java')
-rw-r--r--container-search/src/test/java/com/yahoo/prelude/semantics/test/AlibabaTestCase.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/container-search/src/test/java/com/yahoo/prelude/semantics/test/AlibabaTestCase.java b/container-search/src/test/java/com/yahoo/prelude/semantics/test/AlibabaTestCase.java
index d1000e031da..8ff14011483 100644
--- a/container-search/src/test/java/com/yahoo/prelude/semantics/test/AlibabaTestCase.java
+++ b/container-search/src/test/java/com/yahoo/prelude/semantics/test/AlibabaTestCase.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;
/**
* Test a case reported by Alibaba
@@ -15,23 +15,23 @@ public class AlibabaTestCase extends RuleBaseAbstractTestCase {
}
@Test
- public void testNumberReplacement() {
- assertSemantics("AND nokia 3100","3100");
+ void testNumberReplacement() {
+ assertSemantics("AND nokia 3100", "3100");
}
@Test
- public void testRuleFollowingNumber() {
- assertSemantics("lenovo","legend");
+ void testRuleFollowingNumber() {
+ assertSemantics("lenovo", "legend");
}
@Test
- public void testCombinedNumberAndRegular1() {
- assertSemantics("AND lenovo nokia 3100","legend 3100");
+ void testCombinedNumberAndRegular1() {
+ assertSemantics("AND lenovo nokia 3100", "legend 3100");
}
@Test
- public void testCombinedNumberAndRegular2() {
- assertSemantics("AND nokia 3100 lenovo","3100 legend");
+ void testCombinedNumberAndRegular2() {
+ assertSemantics("AND nokia 3100 lenovo", "3100 legend");
}
}