Răsfoiți Sursa

Fix FirebaseCore tests comments (#13777)

Seyed Mojtaba Hosseini Zeidabadi 1 an în urmă
părinte
comite
2a5637541c
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      FirebaseCore/Tests/Unit/FIRAppTest.m

+ 4 - 4
FirebaseCore/Tests/Unit/FIRAppTest.m

@@ -115,7 +115,7 @@ NSString *const kFIRTestAppName2 = @"test-app-name-2";
   // We stop mocking `FIRHeartbeatLogger` in the class `tearDown` method to
   // prevent interfering with other tests that use the real `FIRHeartbeatLogger`.
   // Doing this in the instance `tearDown` causes test failures due to a race
-  // condition between `NSNoticationCenter` and `OCMVerifyAllWithDelay`.
+  // condition between `NSNotificationCenter` and `OCMVerifyAllWithDelay`.
   // Affected tests:
   // - testHeartbeatLogIsAttemptedWhenAppDidBecomeActive
   [OCMClassMock([FIRHeartbeatLogger class]) stopMocking];
@@ -301,7 +301,7 @@ NSString *const kFIRTestAppName2 = @"test-app-name-2";
   XCTAssertThrows([FIRApp configureWithOptions:differentOptions]);
   XCTAssertEqual([FIRApp allApps].count, 1);
 
-  // Explicily stop the environmentMock.
+  // Explicitly stop the environmentMock.
   [environmentMock stopMocking];
   environmentMock = nil;
 }
@@ -330,7 +330,7 @@ NSString *const kFIRTestAppName2 = @"test-app-name-2";
   XCTAssertThrows([FIRApp configureWithName:kFIRTestAppName1 options:differentOptions]);
   XCTAssertEqual([FIRApp allApps].count, 1);
 
-  // Explicily stop the environmentMock.
+  // Explicitly stop the environmentMock.
   [environmentMock stopMocking];
   environmentMock = nil;
 }
@@ -601,7 +601,7 @@ NSString *const kFIRTestAppName2 = @"test-app-name-2";
 // Uncomment if you need to measure performance of [FIRApp validateAppID:].
 // It is commented because measures are heavily dependent on a build agent configuration,
 // so it cannot produce reliable resault on CI
-//- (void)testAppIDValidationPerfomance {
+//- (void)testAppIDValidationPerformance {
 //  [self measureBlock:^{
 //    for (NSInteger i = 0; i < 100; ++i) {
 //      [self testAppIDPrefix];