This is an automated email from the ASF dual-hosted git repository. jochen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push: new 64a2059e add test for IO-128 new 12453a3a Merge pull request #532 from elharo/IO-128 64a2059e is described below commit 64a2059eb64e5131738fc5ed9541ed6627c0f3f1 Author: Elliotte Rusty Harold <elh...@ibiblio.org> AuthorDate: Wed Dec 20 19:04:16 2023 -0500 add test for IO-128 --- src/test/java/org/apache/commons/io/FilenameUtilsTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/org/apache/commons/io/FilenameUtilsTest.java b/src/test/java/org/apache/commons/io/FilenameUtilsTest.java index 071ea94e..00618f9b 100644 --- a/src/test/java/org/apache/commons/io/FilenameUtilsTest.java +++ b/src/test/java/org/apache/commons/io/FilenameUtilsTest.java @@ -202,6 +202,7 @@ public class FilenameUtilsTest { assertEquals(WINDOWS, FilenameUtils.equalsNormalizedOnSystem("file.txt", "FILE.TXT")); assertTrue(FilenameUtils.equalsNormalizedOnSystem("a\\b\\file.txt", "a/b/file.txt")); assertFalse(FilenameUtils.equalsNormalizedOnSystem("a/b/", "a/b")); + assertFalse(FilenameUtils.equalsNormalizedOnSystem("//a.html", "//ab.html")); } @Test