diff options
Diffstat (limited to 'config-lib/src/test/java/com/yahoo/config/PathNodeTest.java')
-rw-r--r-- | config-lib/src/test/java/com/yahoo/config/PathNodeTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config-lib/src/test/java/com/yahoo/config/PathNodeTest.java b/config-lib/src/test/java/com/yahoo/config/PathNodeTest.java index ad8f5e2e65f..622466d95a2 100644 --- a/config-lib/src/test/java/com/yahoo/config/PathNodeTest.java +++ b/config-lib/src/test/java/com/yahoo/config/PathNodeTest.java @@ -10,7 +10,6 @@ import static org.junit.jupiter.api.Assertions.assertThrows; /** * @author gjoranv - * @since 5.1.28 */ public class PathNodeTest { @@ -22,7 +21,7 @@ public class PathNodeTest { n = new PathNode(new FileReference("foo.txt")); assertEquals(new File("foo.txt").toPath(), n.value()); - assertEquals("path may not start with '..', but got: foo/../../boo", + assertEquals("Path may not start with '..' but got 'foo/../../boo'", assertThrows(IllegalArgumentException.class, () -> new PathNode(new FileReference("foo/../../boo"))).getMessage()); } |