Skip to content

Commit

Permalink
Add toolchain option expectation to BuildArgumentsSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
tkrajacic committed May 13, 2016
1 parent 80c06ad commit 1c6cb2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/CarthageKitTests/BuildArgumentsSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ class BuildArgumentsSpec: QuickSpec {
itCreatesBuildArguments("includes empty derived data path", arguments: []) { (inout subject: BuildArguments) in
subject.derivedDataPath = ""
}

itCreatesBuildArguments("includes the the toolchain", arguments: ["-toolchain", "org.swift.3020160509a"]) { (inout subject: BuildArguments) in
subject.toolchain = "org.swift.3020160509a"
}

describe("specifying the sdk") {
for sdk in SDK.allSDKs.subtract([.MacOSX]) {
Expand Down

0 comments on commit 1c6cb2a

Please sign in to comment.