File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
java-client/src/test/java/co/elastic/clients/json Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -175,11 +175,14 @@ public void testInternallyTaggedUnion() {
175175 @ Test
176176 public void testExternalTaggedUnion () {
177177
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\" }}}" )));
179180 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\" }" )));
181183 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\" }" )));
183186 assertTrue (!withStoredScript .id ().isEmpty ());
184187 }
185188}
You can’t perform that action at this time.
0 commit comments