diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-07-12 12:21:40 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-09-13 14:48:44 +0100 |
commit | f8b2f559453bc3b1491e805f81db7c5920401734 (patch) | |
tree | 432d47a1793fb93c5f7e1b6b79b52c71e05c9c8a /test/test.scala | |
parent | 356ff2ec817dbc65f27ec37e644204359ec84210 (diff) | |
download | cbt-f8b2f559453bc3b1491e805f81db7c5920401734.tar.gz cbt-f8b2f559453bc3b1491e805f81db7c5920401734.tar.bz2 cbt-f8b2f559453bc3b1491e805f81db7c5920401734.zip |
fix task name appearing in args (#132)
Diffstat (limited to 'test/test.scala')
-rw-r--r-- | test/test.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test.scala b/test/test.scala index 65790f8..4f332ea 100644 --- a/test/test.scala +++ b/test/test.scala @@ -197,6 +197,12 @@ object Main{ compile("../examples/uber-jar-example") { + val res = runCbt("simple", Seq("printArgs","1","2","3")) + assert(res.exit0) + assert(res.out == "1 2 3", res.out) + } + + { val res = runCbt("forgot-extend", Seq("run")) assert(!res.exit0) assert(res.err contains "Build cannot be cast to cbt.BuildInterface", res.err) |