diff options
Diffstat (limited to 'config-model/src/test/java/com/yahoo/schema/ReservedWordsAsFieldNamesTestCase.java')
-rw-r--r-- | config-model/src/test/java/com/yahoo/schema/ReservedWordsAsFieldNamesTestCase.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config-model/src/test/java/com/yahoo/schema/ReservedWordsAsFieldNamesTestCase.java b/config-model/src/test/java/com/yahoo/schema/ReservedWordsAsFieldNamesTestCase.java index df9d4a63650..10cb4e60e0b 100644 --- a/config-model/src/test/java/com/yahoo/schema/ReservedWordsAsFieldNamesTestCase.java +++ b/config-model/src/test/java/com/yahoo/schema/ReservedWordsAsFieldNamesTestCase.java @@ -2,11 +2,11 @@ package com.yahoo.schema; import com.yahoo.schema.parser.ParseException; -import org.junit.Test; +import org.junit.jupiter.api.Test; import java.io.IOException; -import static org.junit.Assert.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNotNull; /** * @author bratseth @@ -14,7 +14,7 @@ import static org.junit.Assert.assertNotNull; public class ReservedWordsAsFieldNamesTestCase extends AbstractSchemaTestCase { @Test - public void testIt() throws IOException, ParseException { + void testIt() throws IOException, ParseException { Schema schema = ApplicationBuilder.buildFromFile("src/test/examples/reserved_words_as_field_names.sd"); assertNotNull(schema.getDocument().getField("inline")); assertNotNull(schema.getDocument().getField("constants")); |