This is an automated email from the ASF dual-hosted git repository. ggregory 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 27eb9a95c Fix test fixture 27eb9a95c is described below commit 27eb9a95cc4dc3186caf74d5ecf2cf76159ec258 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Feb 20 08:27:40 2025 -0500 Fix test fixture --- src/test/java/org/apache/commons/io/file/PathUtilsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/io/file/PathUtilsTest.java b/src/test/java/org/apache/commons/io/file/PathUtilsTest.java index 5487faac3..787a13dcd 100644 --- a/src/test/java/org/apache/commons/io/file/PathUtilsTest.java +++ b/src/test/java/org/apache/commons/io/file/PathUtilsTest.java @@ -574,8 +574,8 @@ public void testTouch() throws IOException { @Test public void testWriteStringToFile1() throws Exception { final Path file = tempDirPath.resolve("write.txt"); - PathUtils.writeString(file, "Hello /u1234", StandardCharsets.UTF_8); - final byte[] text = "Hello /u1234".getBytes(StandardCharsets.UTF_8); + PathUtils.writeString(file, "Hello \u1234", StandardCharsets.UTF_8); + final byte[] text = "Hello \u1234".getBytes(StandardCharsets.UTF_8); TestUtils.assertEqualContent(text, file); }