From 0e80c7c76d98d1510cff58c0965e99d71baeac40 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Mon, 21 Oct 2024 22:51:36 +0330 Subject: [PATCH] test: fixed a repeated typo in a property name inside FirebaseDynamicLinks (#13907) --- FirebaseDynamicLinks/Tests/Unit/FDLURLComponentsTests.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/FirebaseDynamicLinks/Tests/Unit/FDLURLComponentsTests.m b/FirebaseDynamicLinks/Tests/Unit/FDLURLComponentsTests.m index 9bd86cb0257..e7d9dce6a79 100644 --- a/FirebaseDynamicLinks/Tests/Unit/FDLURLComponentsTests.m +++ b/FirebaseDynamicLinks/Tests/Unit/FDLURLComponentsTests.m @@ -482,11 +482,11 @@ - (void)testFDLComponentsFactoryReturnsInstanceWithAllNilProperties { - (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 @@ - (void)testFDLComponentsCreatesSimplestLinkCorrectly { - (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 =