Skip to content

Commit 3303750

Browse files
committed
Fix style.
1 parent 5d8431c commit 3303750

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

Example/DynamicLinks/FDLBuilderTestAppObjC/AppDelegate.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ - (BOOL)application:(UIApplication *)application
6060

6161
- (BOOL)application:(UIApplication *)application
6262
continueUserActivity:(NSUserActivity *)userActivity
63-
restorationHandler:(void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler {
63+
restorationHandler:
64+
(void (^)(NSArray<id<UIUserActivityRestoring>> *_Nullable))restorationHandler {
6465
BOOL handled = [[FIRDynamicLinks dynamicLinks]
6566
handleUniversalLink:userActivity.webpageURL
6667
completion:^(FIRDynamicLink *_Nullable dynamicLink, NSError *_Nullable error) {

Example/DynamicLinks/Tests/FIRDynamicLinksTest.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,11 +1023,11 @@ - (void)testValidCustomDomainNames {
10231023
// https://a.firebase.com/mypath
10241024

10251025
NSArray<NSString *> *urlStrings = @[
1026-
@"https://google.com/1", // Valid domain. Any path.
1027-
@"https://google.com/2", // Valid domain. Any path.
1028-
@"https://google.com/one", // Valid domain. Specified path.
1029-
@"https://a.firebase.com/mypath/", // Valid subdomain.
1030-
@"https://a.firebase.com/mypath/abcd/efgh", // Long path.
1026+
@"https://google.com/1", // Valid domain. Any path.
1027+
@"https://google.com/2", // Valid domain. Any path.
1028+
@"https://google.com/one", // Valid domain. Specified path.
1029+
@"https://a.firebase.com/mypath/", // Valid subdomain.
1030+
@"https://a.firebase.com/mypath/abcd/efgh", // Long path.
10311031
@"https://a.firebase.com/mypath?link=abcd&test=1", // Long path.
10321032
];
10331033

@@ -1052,7 +1052,7 @@ - (void)testInvalidCustomDomainNames {
10521052
@"google.com", // Valid domain. No scheme.
10531053
@"https://google.com", // Valid domain. No path.
10541054
@"http://google.com", // Valid domain. Invalid scheme.
1055-
@"https://google.co.in/abc", // Invalid domain starts with valid domain name.
1055+
@"https://google.co.in/abc", // Invalid domain starts with valid domain name.
10561056
@"https://firebase.com/mypath", // Invalid (sub)domain.
10571057
@"https://b.firebase.com/mypath" // Invalid subdomain.
10581058
];

0 commit comments

Comments
 (0)