Skip to content

Commit d5dc662

Browse files
committed
Fix borken test
1 parent 9805f12 commit d5dc662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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
@@ -2985,7 +2985,7 @@ public void testInvalidJoinPatterns() {
29852985

29862986
public void testInvalidInsistAsterisk() {
29872987
assumeTrue("requires snapshot build", Build.current().isSnapshot());
2988-
expectError("FROM text | EVAL x = 4 | INSIST_🐔 *", "Cannot specify [*] with INSIST");
2989-
expectError("FROM text | EVAL x = 4 | INSIST_🐔 foo*", "Cannot use wildcards ([*]) with INSIST");
2988+
expectError("FROM text | EVAL x = 4 | INSIST_🐔 *", "INSIST doesn't support wildcards, found [*]");
2989+
expectError("FROM text | EVAL x = 4 | INSIST_🐔 foo*", "INSIST doesn't support wildcards, found [foo*]");
29902990
}
29912991
}

0 commit comments

Comments
 (0)