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 2acc073 commit e520b78Copy full SHA for e520b78
Firestore/Example/Tests/Integration/FSTTransactionTests.mm
@@ -491,7 +491,7 @@ - (void)testUpdateTransactionally {
491
492
[self awaitExpectations];
493
// There should be a maximum of 3 retries: once for the 2nd update, and twice for the 3rd update.
494
- XCTAssertLessThanOrEqual(6, (int)counter);
+ XCTAssertLessThanOrEqual((int)counter, 6);
495
// Now all transaction should be completed, so check the result.
496
FIRDocumentSnapshot *snapshot = [self readDocumentForRef:doc];
497
XCTAssertEqualObjects(@(5.0 + total), snapshot[@"count"]);
0 commit comments