Selaa lähdekoodia

test: fixed a repeated typo in a property name inside FirebaseDynamicLinks (#13907)

Seyed Mojtaba Hosseini Zeidabadi 1 vuosi sitten
vanhempi
sitoutus
0e80c7c76d
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 4 4
      FirebaseDynamicLinks/Tests/Unit/FDLURLComponentsTests.m

+ 4 - 4
FirebaseDynamicLinks/Tests/Unit/FDLURLComponentsTests.m

@@ -482,11 +482,11 @@ static NSString *const kFDLURLCustomDomain = @"https://foo.com/path";
 
 - (void)testFDLComponentsCreatesSimplestLinkCorrectly {
   NSString *linkString = @"https://google.com";
-  NSString *endcodedLinkString = @"https%3A%2F%2Fgoogle%2Ecom";
+  NSString *encodedLinkString = @"https%3A%2F%2Fgoogle%2Ecom";
   NSURL *link = [NSURL URLWithString:linkString];
 
   NSString *expectedURLString =
-      [NSString stringWithFormat:@"%@/?link=%@", kFDLURLDomain, endcodedLinkString];
+      [NSString stringWithFormat:@"%@/?link=%@", kFDLURLDomain, encodedLinkString];
   NSURL *expectedURL = [NSURL URLWithString:expectedURLString];
 
   FIRDynamicLinkComponents *components =
@@ -498,11 +498,11 @@ static NSString *const kFDLURLCustomDomain = @"https://foo.com/path";
 
 - (void)testFDLComponentsCustomDomainWithPath {
   NSString *linkString = @"https://google.com";
-  NSString *endcodedLinkString = @"https%3A%2F%2Fgoogle%2Ecom";
+  NSString *encodedLinkString = @"https%3A%2F%2Fgoogle%2Ecom";
   NSURL *link = [NSURL URLWithString:linkString];
 
   NSString *expectedURLString =
-      [NSString stringWithFormat:@"%@/?link=%@", kFDLURLCustomDomain, endcodedLinkString];
+      [NSString stringWithFormat:@"%@/?link=%@", kFDLURLCustomDomain, encodedLinkString];
   NSURL *expectedURL = [NSURL URLWithString:expectedURLString];
 
   FIRDynamicLinkComponents *components =