From 9e34f4ae4221d90729a7bc0e7a51cbdf0447810a Mon Sep 17 00:00:00 2001 From: mohssen Date: Fri, 22 Mar 2024 12:45:14 -0700 Subject: [PATCH] Fixed typos --- .../Authorize/AuthorizationCodeAuthProvider.swift | 6 +++--- .../UberSDKTests/UberAuth/AsyncDispatcherTests.swift | 10 ---------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/Sources/UberAuth/Authorize/AuthorizationCodeAuthProvider.swift b/Sources/UberAuth/Authorize/AuthorizationCodeAuthProvider.swift index 737e9b3..ac2b4f2 100644 --- a/Sources/UberAuth/Authorize/AuthorizationCodeAuthProvider.swift +++ b/Sources/UberAuth/Authorize/AuthorizationCodeAuthProvider.swift @@ -159,7 +159,7 @@ public final class AuthorizationCodeAuthProvider: AuthProviding { /// Performs login using one of the native Uber applications if available. /// - /// There are three possible desinations for auth through this method: + /// There are three possible destinations for auth through this method: /// 1. The native Uber app /// 2. The OS supplied Safari browser /// 3. In app auth through ASWebAuthenticationSession @@ -167,13 +167,13 @@ public final class AuthorizationCodeAuthProvider: AuthProviding { /// This method will run through the desired native app destinations supplied in `appPriority`. /// For each one it will: /// * Use the configuration provider to determine if the app is installed, using UIApplication's openUrl. - /// If the app's scheme has not been registered in the Info.plist and is not queyable it will default to true + /// If the app's scheme has not been registered in the Info.plist and is not queryable it will default to true /// and continue with the auth flow. If it is registered but not installed, we will continue to the next app. /// * Build a universal link specific to the current app destination /// * Attempt to launch the app using the `applicationLauncher`. If the app is installed, the native app /// should be launched (1), if not the OS supplied browser will be launched (2) /// - /// If all app destinations have been exhausted and no url has been launced we fall back to in app auth (3) + /// If all app destinations have been exhausted and no url has been launched we fall back to in app auth (3) /// /// - Parameters: /// - appPriority: An ordered list of Uber applications to use to perform login diff --git a/examples/UberSDK/UberSDKTests/UberAuth/AsyncDispatcherTests.swift b/examples/UberSDK/UberSDKTests/UberAuth/AsyncDispatcherTests.swift index f2d3b03..745bc8a 100644 --- a/examples/UberSDK/UberSDKTests/UberAuth/AsyncDispatcherTests.swift +++ b/examples/UberSDK/UberSDKTests/UberAuth/AsyncDispatcherTests.swift @@ -8,16 +8,6 @@ import XCTest class AsyncDispatcherTests: XCTestCase { - override func setUp() { - super.setUp() - // Put setup code here. This method is called before the invocation of each test method in the class. - } - - override func tearDown() { - // Put teardown code here. This method is called after the invocation of each test method in the class. - super.tearDown() - } - func testCallsAllClosures() { let urls: [URL] = [ URL(string: "http://www.google.com")! ]