File tree 1 file changed +6
-3
lines changed
java-client/src/test/java/co/elastic/clients/json
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -175,11 +175,14 @@ public void testInternallyTaggedUnion() {
175
175
@ Test
176
176
public void testExternalTaggedUnion () {
177
177
178
- RoleTemplateScript withSource = RoleTemplateScript .of (j -> j .withJson (new StringReader ("{\" source\" : {\" match\" : {\" category\" : \" click\" }}}" )));
178
+ RoleTemplateScript withSource = RoleTemplateScript .of (j -> j
179
+ .withJson (new StringReader ("{\" source\" : {\" match\" : {\" category\" : \" click\" }}}" )));
179
180
assertTrue (withSource .source ().isQueryObject ());
180
- RoleTemplateScript withStringSource = RoleTemplateScript .of (j -> j .withJson (new StringReader ("{\" source\" : \" string\" }" )));
181
+ RoleTemplateScript withStringSource = RoleTemplateScript .of (j -> j
182
+ .withJson (new StringReader ("{\" source\" : \" string\" }" )));
181
183
assertTrue (withStringSource .source ().isQueryString ());
182
- RoleTemplateScript withStoredScript = RoleTemplateScript .of (j -> j .withJson (new StringReader ("{\" id\" : \" foo\" }" )));
184
+ RoleTemplateScript withStoredScript = RoleTemplateScript .of (j -> j
185
+ .withJson (new StringReader ("{\" id\" : \" foo\" }" )));
183
186
assertTrue (!withStoredScript .id ().isEmpty ());
184
187
}
185
188
}
You can’t perform that action at this time.
0 commit comments