We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27ac6b9 commit 53c598dCopy full SHA for 53c598d
Firestore/Swift/Tests/Integration/AsyncAwaitIntegrationTests.swift
@@ -71,7 +71,7 @@ let emptyBundle = """
71
try await document.setData(["": ""]) // ensure document exists
72
let value = try await db.runTransaction { transact, error in
73
transact.setData(["test": "test"], forDocument: document)
74
- return nil // should not crash
+ return NSNull() // should not crash
75
}
76
77
XCTAssertNil(value, "value should be nil on success")
0 commit comments