Skip to content

Commit a3a00aa

Browse files
authored
fix: update firestore query-invalid-operator test to replace != operator with |~| (#41)
Firestore now has support for != queries and this operator can no longer be used for this negative test case.
1 parent d505e92 commit a3a00aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firestore/v1/query-invalid-operator.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"tests": [
33
{
44
"description": "query: invalid operator in Where clause",
5-
"comment": "The != operator is not supported.",
5+
"comment": "The |~| operator is not supported.",
66
"query": {
77
"collPath": "projects/projectID/databases/(default)/documents/C",
88
"clauses": [
@@ -13,7 +13,7 @@
1313
"a"
1414
]
1515
},
16-
"op": "!=",
16+
"op": "|~|",
1717
"jsonValue": "4"
1818
}
1919
}

0 commit comments

Comments
 (0)