Skip to content

Commit 437a51f

Browse files
committed
fix test
1 parent 4eac86e commit 437a51f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/ent-search/src/test/java/org/elasticsearch/xpack/application/analytics/event/parser/event/AnalyticsEventParserTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void testParsingWithMissingRequiredField() throws IOException {
8484

8585
try (XContentParser xContentParser = createXContentParser(json)) {
8686
Exception e = expectThrows(IllegalArgumentException.class, () -> parser().parse(xContentParser, context));
87-
assertEquals(Strings.format("Required one of fields [%s], but none were specified. ", field), e.getMessage());
87+
assertEquals(Strings.format("Required one of fields [%s], but none were specified.", field), e.getMessage());
8888
}
8989
}
9090
}

0 commit comments

Comments
 (0)