Skip to content

Commit b72be5c

Browse files
committed
Fix line endings in ESJsonLayoutTests
1 parent e7db3b2 commit b72be5c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qa/logging-config/src/test/java/org/elasticsearch/common/logging/ESJsonLayoutTests.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void testLayout() {
5050
"\"node.name\": \"%node_name\", " +
5151
"\"message\": \"%notEmpty{%enc{%marker}{JSON} }%enc{%.-10000m}{JSON}\"" +
5252
"%notEmpty{, %node_and_cluster_id }" +
53-
"%exceptionAsJson }\n"));
53+
"%exceptionAsJson }" + System.lineSeparator()));
5454
}
5555

5656
public void testLayoutWithAdditionalFields() {
@@ -72,7 +72,7 @@ public void testLayoutWithAdditionalFields() {
7272
"%notEmpty{, \"x-opaque-id\": \"%ESMessageField{x-opaque-id}\"}" +
7373
"%notEmpty{, \"someOtherField\": \"%ESMessageField{someOtherField}\"}" +
7474
"%notEmpty{, %node_and_cluster_id }" +
75-
"%exceptionAsJson }\n"));
75+
"%exceptionAsJson }" + System.lineSeparator()));
7676
}
7777

7878
public void testLayoutWithAdditionalFieldOverride() {
@@ -92,6 +92,6 @@ public void testLayoutWithAdditionalFieldOverride() {
9292
"\"node.name\": \"%node_name\"" +
9393
"%notEmpty{, \"message\": \"%ESMessageField{message}\"}" +
9494
"%notEmpty{, %node_and_cluster_id }" +
95-
"%exceptionAsJson }\n"));
95+
"%exceptionAsJson }" + System.lineSeparator()));
9696
}
9797
}

0 commit comments

Comments
 (0)