aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-03-20 22:59:11 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2017-03-24 11:32:09 -0400
commit01855e0ed4eae2b1ab11b854176da940347f6131 (patch)
tree43b9079f7e4195172931d81e652c5f0e06e29378 /test
parent758611576a4f6ceb7020e3cee1f70bbd1cc0b4d8 (diff)
downloadcbt-01855e0ed4eae2b1ab11b854176da940347f6131.tar.gz
cbt-01855e0ed4eae2b1ab11b854176da940347f6131.tar.bz2
cbt-01855e0ed4eae2b1ab11b854176da940347f6131.zip
clean scalafix test before running, so it sure runs
Diffstat (limited to 'test')
-rw-r--r--test/test.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test.scala b/test/test.scala
index 61e98df..7447a5c 100644
--- a/test/test.scala
+++ b/test/test.scala
@@ -393,6 +393,7 @@ object Main{
{
val sourceFile = cbtHome / "examples" / "scalafix-example" / "Main.scala"
val sourceBefore = sourceFile.readAsString
+ runCbt("../examples/scalafix-example", Seq("clean","force"))
val res = runCbt("../examples/scalafix-example", Seq("compile"))
assert(res.exit0)
val sourceAfter = sourceFile.readAsString