From 387a55d5f9e1330d3cb6f6a9fb6c5d557e1a741e Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Fri, 12 Feb 2016 13:03:21 +0100 Subject: [PATCH] wrap lines --- .../elasticsearch/index/query/TemplateQueryBuilderTests.java | 3 ++- .../elasticsearch/index/query/WrapperQueryBuilderTests.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/test/java/org/elasticsearch/index/query/TemplateQueryBuilderTests.java b/core/src/test/java/org/elasticsearch/index/query/TemplateQueryBuilderTests.java index c111684b25b..d2842bc1efe 100644 --- a/core/src/test/java/org/elasticsearch/index/query/TemplateQueryBuilderTests.java +++ b/core/src/test/java/org/elasticsearch/index/query/TemplateQueryBuilderTests.java @@ -143,7 +143,8 @@ public class TemplateQueryBuilderTests extends AbstractQueryTestCase builder = new WrapperQueryBuilder("{ \"match_all\" : {\"_name\" : \"foobar\"}}"); assertEquals(new MatchAllQueryBuilder().queryName("foobar"), builder.rewrite(queryShardContext())); builder = new WrapperQueryBuilder("{ \"match_all\" : {\"_name\" : \"foobar\"}}").queryName("outer"); - assertEquals(new BoolQueryBuilder().must(new MatchAllQueryBuilder().queryName("foobar")).queryName("outer"), builder.rewrite(queryShardContext())); + assertEquals(new BoolQueryBuilder().must(new MatchAllQueryBuilder().queryName("foobar")).queryName("outer"), + builder.rewrite(queryShardContext())); } public void testRewriteWithInnerBoost() throws IOException {