Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Apr 16, 2024
1 parent bd3c384 commit cac3d1e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,13 @@ public void testDynamicMapperWithBadMapping() throws IOException {
b.endArray();
}));
assertWarnings(
"Parameter [badparam] is used in a dynamic template mapping and has no effect on type [null]. Usage will result in an error in future major versions and should be removed."
"Parameter [badparam] is used in a dynamic template mapping and has no effect on type [null]. "
+ "Usage will result in an error in future major versions and should be removed."
);
mapper.parse(source(b -> b.field("field", "foo")));
assertWarnings(
"Parameter [badparam] is used in a dynamic template mapping and has no effect on type [null]. Usage will result in an error in future major versions and should be removed."
"Parameter [badparam] is used in a dynamic template mapping and has no effect on type [null]. "
+ "Usage will result in an error in future major versions and should be removed."
);
}

Expand Down

0 comments on commit cac3d1e

Please sign in to comment.