mirror of https://github.com/sbt/sbt.git
Add a test for -D arguments (e.g. -Dsbt.supershell=false)
This commit is contained in:
parent
71a216c037
commit
6ebad1cffc
|
|
@ -62,6 +62,12 @@ object SbtRunnerTest extends SimpleTestSuite with PowerAssertions {
|
|||
()
|
||||
}
|
||||
|
||||
test("sbt -D arguments") {
|
||||
val out = sbtProcess("-Dsbt.supershell=false compile -v").!!.linesIterator.toList
|
||||
assert(out.contains[String]("-Dsbt.supershell=false"))
|
||||
()
|
||||
}
|
||||
|
||||
test("sbt --sbt-version") {
|
||||
val out = sbtProcess("--sbt-version 1.3.0 compile -v").!!.linesIterator.toList
|
||||
assert(out.contains[String]("-Dsbt.version=1.3.0"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue