Skip to content

Commit 27eb9a9

Browse files
committed
Fix test fixture
1 parent 9c8dabf commit 27eb9a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/apache/commons/io/file/PathUtilsTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,8 @@ public void testTouch() throws IOException {
574574
@Test
575575
public void testWriteStringToFile1() throws Exception {
576576
final Path file = tempDirPath.resolve("write.txt");
577-
PathUtils.writeString(file, "Hello /u1234", StandardCharsets.UTF_8);
578-
final byte[] text = "Hello /u1234".getBytes(StandardCharsets.UTF_8);
577+
PathUtils.writeString(file, "Hello \u1234", StandardCharsets.UTF_8);
578+
final byte[] text = "Hello \u1234".getBytes(StandardCharsets.UTF_8);
579579
TestUtils.assertEqualContent(text, file);
580580
}
581581

0 commit comments

Comments
 (0)