Skip to content

Commit 7d582ba

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent c88f1f8 commit 7d582ba

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/EsqlActionIT.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,9 +1113,7 @@ public void testDataStreamInvalidPatterns() throws Exception {
11131113

11141114
runDataStreamTest(testCases, new String[] { "test_ds_patterns_1" }, (key, value) -> {
11151115
logger.info(key);
1116-
var exception = expectThrows(ParsingException.class, () -> {
1117-
run("from " + key + " | stats count(@timestamp)").close();
1118-
});
1116+
var exception = expectThrows(ParsingException.class, () -> { run("from " + key + " | stats count(@timestamp)").close(); });
11191117
assertThat(exception.getMessage(), containsString(value));
11201118
});
11211119
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
package org.elasticsearch.xpack.esql;
99

10-
import org.elasticsearch.common.Strings;
1110
import org.elasticsearch.action.support.IndexComponentSelector;
11+
import org.elasticsearch.common.Strings;
1212
import org.elasticsearch.test.ESTestCase;
1313
import org.elasticsearch.xpack.esql.action.EsqlCapabilities;
1414

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,8 @@ public void testInvalidCharacterInIndexPattern() {
613613
expectDoubleColonErrorWithLineNumber(command, "cluster:\"foo\"::failures", parseLineNumber + 13);
614614

615615
// TODO: Edge case that will be invalidated in follow up (https://github.com/elastic/elasticsearch/issues/122651)
616-
// expectDoubleColonErrorWithLineNumber(command, "\"cluster:foo\"::data", parseLineNumber + 13);
617-
// expectDoubleColonErrorWithLineNumber(command, "\"cluster:foo\"::failures", parseLineNumber + 13);
616+
// expectDoubleColonErrorWithLineNumber(command, "\"cluster:foo\"::data", parseLineNumber + 13);
617+
// expectDoubleColonErrorWithLineNumber(command, "\"cluster:foo\"::failures", parseLineNumber + 13);
618618

619619
expectErrorWithLineNumber(
620620
command,

0 commit comments

Comments
 (0)