diff --git a/Demo/Demo.xcodeproj/project.xcworkspace/xcuserdata/danielsaidi.xcuserdatad/UserInterfaceState.xcuserstate b/Demo/Demo.xcodeproj/project.xcworkspace/xcuserdata/danielsaidi.xcuserdatad/UserInterfaceState.xcuserstate index 273dc33..2c0b2ca 100644 Binary files a/Demo/Demo.xcodeproj/project.xcworkspace/xcuserdata/danielsaidi.xcuserdatad/UserInterfaceState.xcuserstate and b/Demo/Demo.xcodeproj/project.xcworkspace/xcuserdata/danielsaidi.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Package.resolved b/Package.resolved index 8395da3..9cb9677 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,13 +1,31 @@ { "object": { "pins": [ + { + "package": "CwlCatchException", + "repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git", + "state": { + "branch": null, + "revision": "f809deb30dc5c9d9b78c872e553261a61177721a", + "version": "2.0.0" + } + }, + { + "package": "CwlPreconditionTesting", + "repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git", + "state": { + "branch": null, + "revision": "02b7a39a99c4da27abe03cab2053a9034379639f", + "version": "2.0.0" + } + }, { "package": "Mockery", "repositoryURL": "https://github.com/danielsaidi/Mockery.git", "state": { "branch": null, - "revision": "d196e0021323853996cb46a526d9c58696a16daa", - "version": "0.4.0" + "revision": "c72143b88863ca4852993a448aadbe9def3f8b30", + "version": "0.6.1" } }, { @@ -15,8 +33,8 @@ "repositoryURL": "https://github.com/Quick/Nimble.git", "state": { "branch": null, - "revision": "2b1809051b4a65c1d7f5233331daa24572cd7fca", - "version": "8.1.1" + "revision": "e491a6731307bb23783bf664d003be9b2fa59ab5", + "version": "9.0.0" } }, { diff --git a/Package.swift b/Package.swift index 8de039b..815d347 100644 --- a/Package.swift +++ b/Package.swift @@ -17,7 +17,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/Quick/Quick.git", .upToNextMajor(from: "3.0.0")), - .package(url: "https://github.com/Quick/Nimble.git", .upToNextMajor(from: "8.0.0")), + .package(url: "https://github.com/Quick/Nimble.git", .upToNextMajor(from: "9.0.0")), .package(url: "https://github.com/danielsaidi/Mockery.git", .upToNextMajor(from: "0.4.0")) ], targets: [ diff --git a/Tests/SwiftKitTests/Authentication/BiometricAuthenticationServiceTests.swift b/Tests/SwiftKitTests/Authentication/BiometricAuthenticationServiceTests.swift index e0ef568..804ae1f 100644 --- a/Tests/SwiftKitTests/Authentication/BiometricAuthenticationServiceTests.swift +++ b/Tests/SwiftKitTests/Authentication/BiometricAuthenticationServiceTests.swift @@ -1,17 +1,19 @@ // -// BiometricsAuthenticationServiceTests.swift +// BiometricAuthenticationServiceTests.swift // SwiftKitTests // // Created by Daniel Saidi on 2020-04-28. // Copyright © 2020 Daniel Saidi. All rights reserved. // +#if os(iOS) || os(macOS) import Quick import Nimble import Mockery @testable import SwiftKit -class BiometricsAuthenticationServiceTests: QuickSpec { +@available(iOS 11.0, OSX 10.12.2, *) +class BiometricAuthenticationServiceTests: QuickSpec { override func spec() { @@ -114,3 +116,4 @@ private class TestClass: BiometricAuthenticationService, Mockable { } private enum TestError: Error { case failure } +#endif diff --git a/Tests/SwiftKitTests/Geo/WorldCoordinateTests.swift b/Tests/SwiftKitTests/Geo/WorldCoordinateTests.swift index d5fa2de..7c997be 100644 --- a/Tests/SwiftKitTests/Geo/WorldCoordinateTests.swift +++ b/Tests/SwiftKitTests/Geo/WorldCoordinateTests.swift @@ -25,7 +25,7 @@ class WorldCoordinateTests: QuickSpec { it("has valid coordinate") { expect(validate(.manhattan, 40.7590615, -73.969231)).to(beTrue()) expect(validate(.newYork, 40.7033127, -73.979681)).to(beTrue()) - expect(validate(.sanFransisco, 37.7796828, -122.4000062)).to(beTrue()) + expect(validate(.sanFrancisco, 37.7796828, -122.4000062)).to(beTrue()) expect(validate(.tokyo, 35.673, 139.710)).to(beTrue()) } }