Skip to content

Commit 4a8769b

Browse files
authored
Fix warnings in CodableIntegrationTests.swift (#3357)
1 parent 64f4dca commit 4a8769b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Firestore/Swift/Tests/Integration/CodableIntegrationTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ class CodableIntegrationTests: FSTIntegrationTestCase {
5555
doc.firestore.runTransaction({ (transaction, errorPointer) -> Any? in
5656
do {
5757
if let merge = merge {
58-
try transaction.setData(from: value, forDocument: doc, merge: merge)
58+
_ = try transaction.setData(from: value, forDocument: doc, merge: merge)
5959
} else if let mergeFields = mergeFields {
60-
try transaction.setData(from: value, forDocument: doc, mergeFields: mergeFields)
60+
_ = try transaction.setData(from: value, forDocument: doc, mergeFields: mergeFields)
6161
} else {
62-
try transaction.setData(from: value, forDocument: doc)
62+
_ = try transaction.setData(from: value, forDocument: doc)
6363
}
6464
} catch {
6565
XCTFail("setData with transation failed.")

0 commit comments

Comments
 (0)