diff --git a/Package.swift b/Package.swift index 702b90b..a2f9395 100644 --- a/Package.swift +++ b/Package.swift @@ -3,6 +3,6 @@ import PackageDescription let package = Package( name: "Gatekeeper", dependencies: [ - .Package(url: "https://github.com/vapor/vapor.git", Version(2,0,0, prereleaseIdentifiers: ["beta"])) + .Package(url: "https://github.com/vapor/vapor.git", majorVersion: 2) ] ) diff --git a/Tests/GatekeeperTests/GatekeeperTests.swift b/Tests/GatekeeperTests/GatekeeperTests.swift index 1e09bcf..b8d895e 100644 --- a/Tests/GatekeeperTests/GatekeeperTests.swift +++ b/Tests/GatekeeperTests/GatekeeperTests.swift @@ -35,7 +35,7 @@ class GatekeeperTests: XCTestCase { default: XCTFail("Expected too many request: \(error)") } - }catch { + } catch { XCTFail("Caught wrong error: \(error)") } }