Fix all typos found under the FirebaseDatabase/Tests and the main directory (#13349)

This commit is contained in:
Seyed Mojtaba Hosseini Zeidabadi authored and GitHub committed 2024-07-23 07:00:24 -07:00
1 parent 48fce71b15
commit cf1d90ae25
5 files changed
+5 -5

No files matched your search

@@ -6725,7 +6725,7 @@
]
},
{
".comment": "Server now incorperates user update",
".comment": "Server now incorporates user update",
"type": "serverUpdate",
"tag": 1,
"path": "key-2",
@@ -289,7 +289,7 @@
XCTAssertEqualObjects([map getPredecessorKey:@7], @4, @"@4");
XCTAssertEqualObjects([map getPredecessorKey:@9], @7, @"@7");
XCTAssertEqualObjects([map getPredecessorKey:@50], @9, @"@9");
XCTAssertThrows([map getPredecessorKey:@777], @"Expect exception about nonexistant key");
XCTAssertThrows([map getPredecessorKey:@777], @"Expect exception about nonexistent key");
}
- (void)testEnumerator {
@@ -224,7 +224,7 @@
[self.baseNode updateImmediateChild:@"child-1"
withNewChild:[FSnapshotUtilities nodeFrom:expectedChild1]];
id<FNode> updatedNode = [compoundWrite applyToNode:self.baseNode];
XCTAssertEqualObjects(updatedNode, expectedNode, @"Shallow update should remove deep udpates.");
XCTAssertEqualObjects(updatedNode, expectedNode, @"Shallow update should remove deep updates.");
}
- (void)testChildPriorityDoesntUpdateEmptyNodePriorityOnChildMerge {
@@ -458,7 +458,7 @@
XCTAssertEqualObjects([map getPredecessorKey:@7], @4, @"@4");
XCTAssertEqualObjects([map getPredecessorKey:@9], @7, @"@7");
XCTAssertEqualObjects([map getPredecessorKey:@50], @9, @"@9");
XCTAssertThrows([map getPredecessorKey:@777], @"Expect exception about nonexistant key");
XCTAssertThrows([map getPredecessorKey:@777], @"Expect exception about nonexistent key");
}
- (void)testEnumerator {
@@ -193,7 +193,7 @@ final class DatabaseAPITests {
let values = [AnyHashable: Any]()
var transactionResult = TransactionResult()
// Retreive Child DatabaseReference
// Retrieve Child DatabaseReference
databaseReference = databaseReference.child(child)
databaseReference = databaseReference.childByAutoId()