diff options
Diffstat (limited to 'container-search/src/test/java/com/yahoo/search/searchers/test/ValidateMatchPhaseSearcherTestCase.java')
-rw-r--r-- | container-search/src/test/java/com/yahoo/search/searchers/test/ValidateMatchPhaseSearcherTestCase.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/container-search/src/test/java/com/yahoo/search/searchers/test/ValidateMatchPhaseSearcherTestCase.java b/container-search/src/test/java/com/yahoo/search/searchers/test/ValidateMatchPhaseSearcherTestCase.java index 1b3689a94b0..a040575c4b4 100644 --- a/container-search/src/test/java/com/yahoo/search/searchers/test/ValidateMatchPhaseSearcherTestCase.java +++ b/container-search/src/test/java/com/yahoo/search/searchers/test/ValidateMatchPhaseSearcherTestCase.java @@ -9,12 +9,12 @@ import com.yahoo.search.searchers.ValidateMatchPhaseSearcher; import com.yahoo.search.Query; import com.yahoo.search.Result; import com.yahoo.vespa.config.search.AttributesConfig; -import org.junit.Test; +import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.List; -import static org.junit.Assert.assertEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; /** * @author baldersheim @@ -61,7 +61,7 @@ public class ValidateMatchPhaseSearcherTestCase { } @Test - public void testMatchPhaseAttribute() { + void testMatchPhaseAttribute() { assertEquals("", search("")); assertEquals("", match("ok")); assertEquals(getErrorMatch("not_numeric"), match("not_numeric")); @@ -71,7 +71,7 @@ public class ValidateMatchPhaseSearcherTestCase { } @Test - public void testDiversityAttribute() { + void testDiversityAttribute() { assertEquals("", search("")); assertEquals("", diversify("ok")); assertEquals("", diversify("not_numeric")); |