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 5e4c5e6 commit 34e36e6Copy full SHA for 34e36e6
Firestore/Swift/Tests/Integration/AsyncAwaitIntegrationTests.swift
@@ -67,14 +67,11 @@ let emptyBundle = """
67
}
68
69
func testRunTransactionDoesNotCrashOnNilSuccess() async throws {
70
- let document = collectionRef().document()
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
75
76
77
-// XCTAssertNil(value, "value should be nil on success")
+ XCTAssertNil(value, "value should be nil on success")
78
79
80
#endif
0 commit comments