aboutsummaryrefslogtreecommitdiffstats
path: root/config-lib/src/test/java/com/yahoo/config/DoubleNodeTest.java
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2022-07-29 15:44:31 +0200
committerGitHub <noreply@github.com>2022-07-29 15:44:31 +0200
commit372f6d7371d42ef23b543d4349cfeabf25ac400b (patch)
tree9af9d03b14f4a3cf4747428071574ec668e3f3f7 /config-lib/src/test/java/com/yahoo/config/DoubleNodeTest.java
parent5aa9bb607b7d4262c8ea13d20671f7264c3c59c5 (diff)
parent4b53d0d135fcacc5964b2720678642f182fd15d1 (diff)
Merge pull request #23555 from vespa-engine/bjorncs/more-junit5v8.26.15
Bjorncs/more junit5
Diffstat (limited to 'config-lib/src/test/java/com/yahoo/config/DoubleNodeTest.java')
-rw-r--r--config-lib/src/test/java/com/yahoo/config/DoubleNodeTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/config-lib/src/test/java/com/yahoo/config/DoubleNodeTest.java b/config-lib/src/test/java/com/yahoo/config/DoubleNodeTest.java
index 1192cc6673e..475a33104b0 100644
--- a/config-lib/src/test/java/com/yahoo/config/DoubleNodeTest.java
+++ b/config-lib/src/test/java/com/yahoo/config/DoubleNodeTest.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.assertEquals;
-import static org.junit.Assert.assertFalse;
-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;
/**
@@ -14,7 +14,7 @@ import static org.junit.Assert.assertTrue;
*/
public class DoubleNodeTest {
@Test
- public void testSetValue() {
+ void testSetValue() {
DoubleNode n = new DoubleNode();
assertFalse(n.doSetValue("invalid"));
assertTrue(n.doSetValue("3.14"));