Skip to content

Commit 0e80c7c

Browse files
authored
test: fixed a repeated typo in a property name inside FirebaseDynamicLinks (#13907)
1 parent 9834ad5 commit 0e80c7c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

FirebaseDynamicLinks/Tests/Unit/FDLURLComponentsTests.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -482,11 +482,11 @@ - (void)testFDLComponentsFactoryReturnsInstanceWithAllNilProperties {
482482

483483
- (void)testFDLComponentsCreatesSimplestLinkCorrectly {
484484
NSString *linkString = @"https://google.com";
485-
NSString *endcodedLinkString = @"https%3A%2F%2Fgoogle%2Ecom";
485+
NSString *encodedLinkString = @"https%3A%2F%2Fgoogle%2Ecom";
486486
NSURL *link = [NSURL URLWithString:linkString];
487487

488488
NSString *expectedURLString =
489-
[NSString stringWithFormat:@"%@/?link=%@", kFDLURLDomain, endcodedLinkString];
489+
[NSString stringWithFormat:@"%@/?link=%@", kFDLURLDomain, encodedLinkString];
490490
NSURL *expectedURL = [NSURL URLWithString:expectedURLString];
491491

492492
FIRDynamicLinkComponents *components =
@@ -498,11 +498,11 @@ - (void)testFDLComponentsCreatesSimplestLinkCorrectly {
498498

499499
- (void)testFDLComponentsCustomDomainWithPath {
500500
NSString *linkString = @"https://google.com";
501-
NSString *endcodedLinkString = @"https%3A%2F%2Fgoogle%2Ecom";
501+
NSString *encodedLinkString = @"https%3A%2F%2Fgoogle%2Ecom";
502502
NSURL *link = [NSURL URLWithString:linkString];
503503

504504
NSString *expectedURLString =
505-
[NSString stringWithFormat:@"%@/?link=%@", kFDLURLCustomDomain, endcodedLinkString];
505+
[NSString stringWithFormat:@"%@/?link=%@", kFDLURLCustomDomain, encodedLinkString];
506506
NSURL *expectedURL = [NSURL URLWithString:expectedURLString];
507507

508508
FIRDynamicLinkComponents *components =

0 commit comments

Comments
 (0)