Skip to content

Commit 1c9df2a

Browse files
committed
address feedbacks
1 parent 78c00d8 commit 1c9df2a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Firestore/Swift/Tests/Integration/PipelineTests.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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
]

0 commit comments

Comments
 (0)