Skip to content

Commit 9bc5fd5

Browse files
authored
Review Firestore Swift Tests (#13389)
1 parent 3ec8bf1 commit 9bc5fd5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Firestore/Swift/Tests/API/BasicCompileTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ func readDocument(at docRef: DocumentReference) {
279279
}
280280
}
281281

282-
// Option 2: switch on the code and compare agianst raw values.
282+
// Option 2: switch on the code and compare against raw values.
283283
switch nsError.code {
284284
case FirestoreErrorCode.unavailable.rawValue:
285285
print("Can't read document due to being offline!")

Firestore/Swift/Tests/Integration/IndexingTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import Foundation
1919

2020
class IndexingTests: FSTIntegrationTestCase {
2121
func testAutoIndexCreationSetSuccessfully() throws {
22-
// Use persistent disk cache (explict)
22+
// Use persistent disk cache (explicit)
2323
let settings = db.settings
2424
settings.cacheSettings = PersistentCacheSettings()
2525
db.settings = settings

0 commit comments

Comments
 (0)