Skip to content

Commit 97466dc

Browse files
Fix
1 parent f735c2e commit 97466dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/fulltext/QueryStringErrorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private static String errorMessageStringForMatch(
6363
}
6464
if (validPerPosition.get(i).contains(signature.get(i)) == false) {
6565
// Map expressions have different error messages
66-
if (i == 2) {
66+
if (i == 1) {
6767
return format(null, "third argument of [{}] must be a map expression, received []", sourceForSignature(signature));
6868
}
6969
break;

0 commit comments

Comments
 (0)