Skip to content

Commit

Permalink
Update tests to account for new swift check
Browse files Browse the repository at this point in the history
  • Loading branch information
BobElDevil committed Jun 9, 2017
1 parent a4178f6 commit 1ea0d05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/CarthageKitTests/ProjectSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class ProjectSpec: QuickSpec {
let result1 = buildDependencyTest(platforms: [.macOS])
expect(result1).to(equal(expected))

overwriteSwiftVersion("TestFramework3", forPlatformName: "Mac", inDirectory: buildDirectoryURL, withVersion: "1.0")
overwriteSwiftVersion("TestFramework3", forPlatformName: "Mac", inDirectory: buildDirectoryURL, withVersion: "swiftlang-000.0.1 clang-000.0.0.1")

let result2 = buildDependencyTest(platforms: [.macOS])
expect(result2).to(equal(expected))
Expand Down
2 changes: 1 addition & 1 deletion Tests/CarthageKitTests/XcodeSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class XcodeSpec: QuickSpec {
let result = checkSwiftFrameworkCompatibility(frameworkURL, usingToolchain: nil).single()

expect(result?.value).to(beNil())
expect(result?.error) == .incompatibleFrameworkSwiftVersions(local: currentSwiftVersion ?? "", framework: "0.0.0")
expect(result?.error) == .incompatibleFrameworkSwiftVersions(local: currentSwiftVersion ?? "", framework: "swiftlang-800.0.63 clang-800.0.42.1")
}
}

Expand Down

0 comments on commit 1ea0d05

Please sign in to comment.