Skip to content

Commit ec04e78

Browse files
committed
codestyle
1 parent b60610d commit ec04e78

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

java-client/src/test/java/co/elastic/clients/json/WithJsonTest.java

+6-3
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)