@@ -50,7 +50,7 @@ public void testLayout() {
50
50
"\" node.name\" : \" %node_name\" , " +
51
51
"\" message\" : \" %notEmpty{%enc{%marker}{JSON} }%enc{%.-10000m}{JSON}\" " +
52
52
"%notEmpty{, %node_and_cluster_id }" +
53
- "%exceptionAsJson }\n " ));
53
+ "%exceptionAsJson }" + System . lineSeparator () ));
54
54
}
55
55
56
56
public void testLayoutWithAdditionalFields () {
@@ -72,7 +72,7 @@ public void testLayoutWithAdditionalFields() {
72
72
"%notEmpty{, \" x-opaque-id\" : \" %ESMessageField{x-opaque-id}\" }" +
73
73
"%notEmpty{, \" someOtherField\" : \" %ESMessageField{someOtherField}\" }" +
74
74
"%notEmpty{, %node_and_cluster_id }" +
75
- "%exceptionAsJson }\n " ));
75
+ "%exceptionAsJson }" + System . lineSeparator () ));
76
76
}
77
77
78
78
public void testLayoutWithAdditionalFieldOverride () {
@@ -92,6 +92,6 @@ public void testLayoutWithAdditionalFieldOverride() {
92
92
"\" node.name\" : \" %node_name\" " +
93
93
"%notEmpty{, \" message\" : \" %ESMessageField{message}\" }" +
94
94
"%notEmpty{, %node_and_cluster_id }" +
95
- "%exceptionAsJson }\n " ));
95
+ "%exceptionAsJson }" + System . lineSeparator () ));
96
96
}
97
97
}
0 commit comments