@@ -797,7 +797,7 @@ apiDescribe('Validation:', (persistence: boolean) => {
797797 collection . where ( 'x' , '>=' , 32 ) . where ( 'y' , '<' , 'cat' )
798798 ) . to . throw (
799799 'Invalid query. All where filters with an ' +
800- 'inequality (<, <=, >, or >=) must be on the same field.' +
800+ 'inequality (<, <=, !=, not-in, >, or >=) must be on the same field.' +
801801 ` But you have inequality filters on 'x' and 'y'`
802802 ) ;
803803 } ) ;
@@ -818,7 +818,7 @@ apiDescribe('Validation:', (persistence: boolean) => {
818818 collection . where ( 'y' , '>' , 32 ) . where ( 'x' , '!=' , 33 )
819819 ) . to . throw (
820820 'Invalid query. All where filters with an ' +
821- 'inequality (<, <=, >, or >=) must be on the same field.' +
821+ 'inequality (<, <=, !=, not-in, >, or >=) must be on the same field.' +
822822 ` But you have inequality filters on 'y' and 'x`
823823 ) ;
824824 }
@@ -833,7 +833,7 @@ apiDescribe('Validation:', (persistence: boolean) => {
833833 collection . where ( 'y' , '>' , 32 ) . where ( 'x' , 'not-in' , [ 33 ] )
834834 ) . to . throw (
835835 'Invalid query. All where filters with an ' +
836- 'inequality (<, <=, >, or >=) must be on the same field.' +
836+ 'inequality (<, <=, !=, not-in, >, or >=) must be on the same field.' +
837837 ` But you have inequality filters on 'y' and 'x`
838838 ) ;
839839 }
@@ -846,7 +846,7 @@ apiDescribe('Validation:', (persistence: boolean) => {
846846 const collection = db . collection ( 'test' ) ;
847847 const reason =
848848 `Invalid query. You have a where filter with an ` +
849- `inequality (<, <=, >, or >=) on field 'x' and so you must also ` +
849+ `inequality (<, <=, !=, not-in, >, or >=) on field 'x' and so you must also ` +
850850 `use 'x' as your first argument to Query.orderBy(), but your first ` +
851851 `orderBy() is on field 'y' instead.` ;
852852 expect ( ( ) => collection . where ( 'x' , '>' , 32 ) . orderBy ( 'y' ) ) . to . throw (
0 commit comments