We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f88e418 commit cb29d3dCopy full SHA for cb29d3d
buildSrc/src/test/java/org/elasticsearch/gradle/ConcatFilesTaskTests.java
@@ -66,8 +66,8 @@ public void testConcatenationWithUnique() throws IOException {
66
file2.getParentFile().mkdirs();
67
file1.createNewFile();
68
file2.createNewFile();
69
- Files.write(file1.toPath(), "Hello\nHello".getBytes());
70
- Files.write(file2.toPath(), "Hello\nनमस्ते".getBytes());
+ Files.write(file1.toPath(), ("Hello" + System.lineSeparator() + "Hello").getBytes(StandardCharsets.UTF_8));
+ Files.write(file2.toPath(), ("Hello" + System.lineSeparator() + "नमस्ते").getBytes(StandardCharsets.UTF_8));
71
72
concatFilesTask.setFiles(project.fileTree(file1.getParentFile().getParentFile()));
73
0 commit comments