Skip to content

Commit 2a56375

Browse files
authored
Fix FirebaseCore tests comments (#13777)
1 parent 0a36c2a commit 2a56375

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

FirebaseCore/Tests/Unit/FIRAppTest.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ + (void)tearDown {
115115
// We stop mocking `FIRHeartbeatLogger` in the class `tearDown` method to
116116
// prevent interfering with other tests that use the real `FIRHeartbeatLogger`.
117117
// Doing this in the instance `tearDown` causes test failures due to a race
118-
// condition between `NSNoticationCenter` and `OCMVerifyAllWithDelay`.
118+
// condition between `NSNotificationCenter` and `OCMVerifyAllWithDelay`.
119119
// Affected tests:
120120
// - testHeartbeatLogIsAttemptedWhenAppDidBecomeActive
121121
[OCMClassMock([FIRHeartbeatLogger class]) stopMocking];
@@ -301,7 +301,7 @@ - (void)testConfigureDefaultAppInExtension {
301301
XCTAssertThrows([FIRApp configureWithOptions:differentOptions]);
302302
XCTAssertEqual([FIRApp allApps].count, 1);
303303

304-
// Explicily stop the environmentMock.
304+
// Explicitly stop the environmentMock.
305305
[environmentMock stopMocking];
306306
environmentMock = nil;
307307
}
@@ -330,7 +330,7 @@ - (void)testConfigureCustomAppInExtension {
330330
XCTAssertThrows([FIRApp configureWithName:kFIRTestAppName1 options:differentOptions]);
331331
XCTAssertEqual([FIRApp allApps].count, 1);
332332

333-
// Explicily stop the environmentMock.
333+
// Explicitly stop the environmentMock.
334334
[environmentMock stopMocking];
335335
environmentMock = nil;
336336
}
@@ -601,7 +601,7 @@ - (void)testAppIDContainsInvalidBundleIDHash {
601601
// Uncomment if you need to measure performance of [FIRApp validateAppID:].
602602
// It is commented because measures are heavily dependent on a build agent configuration,
603603
// so it cannot produce reliable resault on CI
604-
//- (void)testAppIDValidationPerfomance {
604+
//- (void)testAppIDValidationPerformance {
605605
// [self measureBlock:^{
606606
// for (NSInteger i = 0; i < 100; ++i) {
607607
// [self testAppIDPrefix];

0 commit comments

Comments
 (0)