We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c8dabf commit 27eb9a9Copy full SHA for 27eb9a9
src/test/java/org/apache/commons/io/file/PathUtilsTest.java
@@ -574,8 +574,8 @@ public void testTouch() throws IOException {
574
@Test
575
public void testWriteStringToFile1() throws Exception {
576
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);
+ PathUtils.writeString(file, "Hello \u1234", StandardCharsets.UTF_8);
+ final byte[] text = "Hello \u1234".getBytes(StandardCharsets.UTF_8);
579
TestUtils.assertEqualContent(text, file);
580
}
581
0 commit comments