diff options
Diffstat (limited to 'container-search/src/test/java/com/yahoo/prelude/test/NullSetMemberTestCase.java')
-rw-r--r-- | container-search/src/test/java/com/yahoo/prelude/test/NullSetMemberTestCase.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/container-search/src/test/java/com/yahoo/prelude/test/NullSetMemberTestCase.java b/container-search/src/test/java/com/yahoo/prelude/test/NullSetMemberTestCase.java index e77f0d00578..495f11e0780 100644 --- a/container-search/src/test/java/com/yahoo/prelude/test/NullSetMemberTestCase.java +++ b/container-search/src/test/java/com/yahoo/prelude/test/NullSetMemberTestCase.java @@ -1,13 +1,11 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.prelude.test; -import org.junit.Test; +import org.junit.jupiter.api.Test; import java.util.HashSet; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertTrue; +import static org.junit.jupiter.api.Assertions.*; /** * Tests null members in HashSet @@ -15,7 +13,7 @@ import static org.junit.Assert.assertTrue; public class NullSetMemberTestCase { @Test - public void testNullMember() { + void testNullMember() { HashSet<?> s = new HashSet<>(); assertEquals(s.size(), 0); assertFalse(s.contains(null)); |