Skip to content

Commit 7979684

Browse files
committed
FIRQueryTests.mm: static_cast<int> -> size_t{1}
1 parent 6435094 commit 7979684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firestore/Example/Tests/Integration/API/FIRQueryTests.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1293,7 +1293,7 @@ - (void)testResumingAQueryShouldUseExistenceFilterToDetectDeletes {
12931293
}
12941294

12951295
// Verify that Watch sent an existence filter with the correct counts when the query was resumed.
1296-
XCTAssertEqual(static_cast<int>(existence_filter_mismatches.size()), 1);
1296+
XCTAssertEqual(existence_filter_mismatches.size(), size_t{1});
12971297
firebase::firestore::util::TestingHooks::ExistenceFilterMismatchInfo &info =
12981298
existence_filter_mismatches[0];
12991299
XCTAssertEqual(info.local_cache_count, 100);

0 commit comments

Comments
 (0)