Skip to content

Commit 7787efe

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 4302a69 commit 7787efe

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/EsqlTestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ public static EnrichResolution emptyPolicyResolution() {
458458
public static InferenceResolution emptyInferenceResolution() {
459459
return InferenceResolution.EMPTY;
460460
}
461-
461+
462462
public static SearchStats statsForExistingField(String... names) {
463463
return fieldMatchingExistOrMissing(true, names);
464464
}

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3176,17 +3176,17 @@ public void testRerankWithNamedParameters() {
31763176
assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title")))));
31773177
}
31783178

3179-
public void testInvalidRerank() {
3179+
public void testInvalidRerank() {
31803180
assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled());
31813181
expectError(
31823182
"FROM foo* | RERANK ON title WITH inferenceId",
31833183
"line 1:20: mismatched input 'ON' expecting {QUOTED_STRING, '?', NAMED_OR_POSITIONAL_PARAM}"
31843184
);
31853185

3186-
expectError(
3187-
"FROM foo* | RERANK \"query text\" ON title",
3188-
"line 1:42: mismatched input '<EOF>' expecting {'with', 'and', '::', ',', '.', 'or', '+', '-', '*', '/', '%'}"
3189-
);
3186+
expectError(
3187+
"FROM foo* | RERANK \"query text\" ON title",
3188+
"line 1:42: mismatched input '<EOF>' expecting {'with', 'and', '::', ',', '.', 'or', '+', '-', '*', '/', '%'}"
3189+
);
31903190
}
31913191

31923192
static Alias alias(String name, Expression value) {

0 commit comments

Comments
 (0)