Skip to content

Commit

Permalink
Fix line endings in ESJsonLayoutTests
Browse files Browse the repository at this point in the history
  • Loading branch information
alpar-t committed Jul 18, 2019
1 parent e7db3b2 commit b72be5c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void testLayout() {
"\"node.name\": \"%node_name\", " +
"\"message\": \"%notEmpty{%enc{%marker}{JSON} }%enc{%.-10000m}{JSON}\"" +
"%notEmpty{, %node_and_cluster_id }" +
"%exceptionAsJson }\n"));
"%exceptionAsJson }" + System.lineSeparator()));
}

public void testLayoutWithAdditionalFields() {
Expand All @@ -72,7 +72,7 @@ public void testLayoutWithAdditionalFields() {
"%notEmpty{, \"x-opaque-id\": \"%ESMessageField{x-opaque-id}\"}" +
"%notEmpty{, \"someOtherField\": \"%ESMessageField{someOtherField}\"}" +
"%notEmpty{, %node_and_cluster_id }" +
"%exceptionAsJson }\n"));
"%exceptionAsJson }" + System.lineSeparator()));
}

public void testLayoutWithAdditionalFieldOverride() {
Expand All @@ -92,6 +92,6 @@ public void testLayoutWithAdditionalFieldOverride() {
"\"node.name\": \"%node_name\"" +
"%notEmpty{, \"message\": \"%ESMessageField{message}\"}" +
"%notEmpty{, %node_and_cluster_id }" +
"%exceptionAsJson }\n"));
"%exceptionAsJson }" + System.lineSeparator()));
}
}

0 comments on commit b72be5c

Please sign in to comment.