mirror of
https://github.com/sbt/sbt.git
synced 2026-09-06 09:37:02 +02:00
Add a test for -D arguments (e.g. -Dsbt.supershell=false)
This commit is contained in:
committed by
Eugene Yokota
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"))
|
||||
|
||||
Reference in New Issue
Block a user