diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2022-07-29 14:41:04 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2022-07-29 14:41:04 +0200 |
commit | d2d48d2518be19a15d214c6c2fb72fa0cec9ac52 (patch) | |
tree | 5c891dccb2676076d389f1e077ded04bf840421a /config-lib/src/test/java/com/yahoo/config/LongNodeTest.java | |
parent | 3ba4caa0d60627e9b4d1a593445860f138f72fee (diff) |
Convert config-lib to junit5
Diffstat (limited to 'config-lib/src/test/java/com/yahoo/config/LongNodeTest.java')
-rw-r--r-- | config-lib/src/test/java/com/yahoo/config/LongNodeTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config-lib/src/test/java/com/yahoo/config/LongNodeTest.java b/config-lib/src/test/java/com/yahoo/config/LongNodeTest.java index fc603ba65ac..dc6d59bbc46 100644 --- a/config-lib/src/test/java/com/yahoo/config/LongNodeTest.java +++ b/config-lib/src/test/java/com/yahoo/config/LongNodeTest.java @@ -1,11 +1,11 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.config; -import org.junit.Test; +import org.junit.jupiter.api.Test; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertTrue; /** * @author Ulf Lilleengen @@ -13,7 +13,7 @@ import static org.junit.Assert.assertTrue; */ public class LongNodeTest { @Test - public void testSetValue() { + void testSetValue() { LongNode n = new LongNode(); assertFalse(n.setValue("invalid")); assertTrue(n.setValue("10")); |