File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Firestore/Swift/Tests/Integration Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2507,7 +2507,11 @@ class PipelineIntegrationTests: FSTIntegrationTestCase {
25072507 . limit ( 1 )
25082508 . select (
25092509 [
2510+ Field ( " rating " ) . equal ( Constant . nil) . as ( " ratingIsNull " ) ,
2511+ Field ( " rating " ) . equal ( Constant ( Double . nan) ) . as ( " ratingIsNaN " ) ,
25102512 Field ( " foo " ) . isAbsent ( ) . as ( " isAbsent " ) ,
2513+ Field ( " title " ) . notEqual ( Constant . nil) . as ( " titleIsNotNull " ) ,
2514+ Field ( " cost " ) . notEqual ( Constant ( Double . nan) ) . as ( " costIsNotNan " ) ,
25112515 Field ( " fooBarBaz " ) . exists ( ) . as ( " fooBarBazExists " ) ,
25122516 Field ( " title " ) . exists ( ) . as ( " titleExists " ) ,
25132517 ]
@@ -2518,7 +2522,11 @@ class PipelineIntegrationTests: FSTIntegrationTestCase {
25182522
25192523 if let resultDoc = snapshot. results. first {
25202524 let expectedResults : [ String : Sendable ? ] = [
2525+ " ratingIsNull " : false ,
2526+ " ratingIsNaN " : false ,
25212527 " isAbsent " : true ,
2528+ " titleIsNotNull " : true ,
2529+ " costIsNotNan " : false ,
25222530 " fooBarBazExists " : false ,
25232531 " titleExists " : true ,
25242532 ]
You can’t perform that action at this time.
0 commit comments