Ver código fonte

Review Firestore remaining test files (#13388)

Seyed Mojtaba Hosseini Zeidabadi 1 ano atrás
pai
commit
a83e90cafd

+ 3 - 3
Firestore/core/test/unit/FSTGoogleTestTests.mm

@@ -104,15 +104,15 @@ NSSet<NSString*>* _Nullable LoadXCTestConfigurationTestsToRun() {
   }
 
   if (!config) {
-    NSLog(@"Failed to load any configuaration from %@=%@. %@", configEnvVar,
+    NSLog(@"Failed to load any configuration from %@=%@. %@", configEnvVar,
           filePath, error);
     return nil;
   }
 
   SEL testsToRunSelector = NSSelectorFromString(@"testsToRun");
   if (![config respondsToSelector:testsToRunSelector]) {
-    NSLog(@"Invalid configuaration from %@=%@: missing testsToRun",
-          configEnvVar, filePath);
+    NSLog(@"Invalid configuration from %@=%@: missing testsToRun", configEnvVar,
+          filePath);
     return nil;
   }
 

+ 1 - 1
Firestore/core/test/unit/credentials/firebase_app_check_credentials_provider_test.mm

@@ -236,7 +236,7 @@ TEST(FirebaseAppCheckCredentialsProviderTest,
         }
       });
 
-  // Sending this notifcation would cause a crash if it was processed in the
+  // Sending this notification would cause a crash if it was processed in the
   // AppCheck notification handlder since AppCheck expects the userInfo object
   // to an NSDictionary.
   id userInfo = @"this_should_be_a_dictionary";

+ 1 - 1
Firestore/core/test/unit/testutil/async_testing.h

@@ -74,7 +74,7 @@ class Expectation {
   void Fulfill();
 
   /**
-   * Returns a callback function, that when invoked, fullfills the expectation.
+   * Returns a callback function, that when invoked, fulfills the expectation.
    *
    * The returned function has a lifetime that's independent of the Expectation
    * that created it.