Skip to content

Commit 09430f1

Browse files
committed
Sure thing Spotless
1 parent 15dbb2a commit 09430f1

File tree

1 file changed

+2
-12
lines changed
  • x-pack/plugin/esql-core/src/test/java/org/elasticsearch/xpack/esql/core/querydsl/query

1 file changed

+2
-12
lines changed

x-pack/plugin/esql-core/src/test/java/org/elasticsearch/xpack/esql/core/querydsl/query/MatchQueryTests.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,8 @@ private static MatchQuery copy(MatchQuery query) {
4343
private static MatchQuery mutate(MatchQuery query) {
4444
List<Function<MatchQuery, MatchQuery>> options = Arrays.asList(
4545
q -> new MatchQuery(SourceTests.mutate(q.source()), q.name(), q.text(), q.predicate()),
46-
q -> new MatchQuery(
47-
q.source(),
48-
randomValueOtherThan(q.name(), () -> randomAlphaOfLength(5)),
49-
q.text(),
50-
q.predicate()
51-
),
52-
q -> new MatchQuery(
53-
q.source(),
54-
q.name(),
55-
randomValueOtherThan(q.text(), () -> randomAlphaOfLength(5)),
56-
q.predicate()
57-
)
46+
q -> new MatchQuery(q.source(), randomValueOtherThan(q.name(), () -> randomAlphaOfLength(5)), q.text(), q.predicate()),
47+
q -> new MatchQuery(q.source(), q.name(), randomValueOtherThan(q.text(), () -> randomAlphaOfLength(5)), q.predicate())
5848
);
5949
// TODO mutate the predicate
6050
return randomFrom(options).apply(query);

0 commit comments

Comments
 (0)