Skip to content

Commit 8a7e2e3

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 4de27dc commit 8a7e2e3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/lucene/LuceneTopNSourceOperatorScoringTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ public Optional<SortAndFormats> buildSort(List<SortBuilder<?>> sorts) {
110110
@Override
111111
protected Matcher<String> expectedToStringOfSimple() {
112112
return matchesRegex(
113-
"LuceneTopNSourceOperator\\[shards = \\[test], "
114-
+ "maxPageSize = \\d+, limit = 100, needsScore = true, sorts = \\[\\{.+}]]"
113+
"LuceneTopNSourceOperator\\[shards = \\[test], " + "maxPageSize = \\d+, limit = 100, needsScore = true, sorts = \\[\\{.+}]]"
115114
);
116115
}
117116

x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/lucene/LuceneTopNSourceOperatorTests.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ public Optional<SortAndFormats> buildSort(List<SortBuilder<?>> sorts) {
115115
@Override
116116
protected Matcher<String> expectedToStringOfSimple() {
117117
return matchesRegex(
118-
"LuceneTopNSourceOperator\\[shards = \\[test], maxPageSize = \\d+, limit = 100, needsScore = " + scoring + ", sorts = \\[\\{.+}]]"
118+
"LuceneTopNSourceOperator\\[shards = \\[test], maxPageSize = \\d+, limit = 100, needsScore = "
119+
+ scoring
120+
+ ", sorts = \\[\\{.+}]]"
119121
);
120122
}
121123

0 commit comments

Comments
 (0)