Skip to content

Commit 0bc3404

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 6818567 commit 0bc3404

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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
@@ -3182,17 +3182,17 @@ public void testRerankWithNamedParameters() {
31823182
assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title")))));
31833183
}
31843184

3185-
public void testInvalidRerank() {
3185+
public void testInvalidRerank() {
31863186
assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled());
31873187
expectError(
31883188
"FROM foo* | RERANK ON title WITH inferenceId",
31893189
"line 1:20: mismatched input 'ON' expecting {QUOTED_STRING, '?', NAMED_OR_POSITIONAL_PARAM}"
31903190
);
31913191

3192-
expectError(
3193-
"FROM foo* | RERANK \"query text\" ON title",
3194-
"line 1:42: mismatched input '<EOF>' expecting {'with', 'and', '::', ',', '.', 'or', '+', '-', '*', '/', '%'}"
3195-
);
3192+
expectError(
3193+
"FROM foo* | RERANK \"query text\" ON title",
3194+
"line 1:42: mismatched input '<EOF>' expecting {'with', 'and', '::', ',', '.', 'or', '+', '-', '*', '/', '%'}"
3195+
);
31963196
}
31973197

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

0 commit comments

Comments
 (0)