aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEric Torreborre <etorreborre@yahoo.com>2017-06-14 17:20:42 +0200
committerEric Torreborre <etorreborre@yahoo.com>2017-06-14 17:21:39 +0200
commit66c3d62ebb08eb0054ade9b98dc7a477976117b7 (patch)
tree1055e0214964fb5e50348c55525b0394045820ca /test
parent72c4a8d33528f924d4623eb204539455b82c4e01 (diff)
downloadcbt-66c3d62ebb08eb0054ade9b98dc7a477976117b7.tar.gz
cbt-66c3d62ebb08eb0054ade9b98dc7a477976117b7.tar.bz2
cbt-66c3d62ebb08eb0054ade9b98dc7a477976117b7.zip
added an example
Diffstat (limited to 'test')
-rw-r--r--test/test.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test.scala b/test/test.scala
index 74177c5..81a164f 100644
--- a/test/test.scala
+++ b/test/test.scala
@@ -459,6 +459,11 @@ object Main{
lib.write(sourceFile, sourceBefore)
}
+ {
+ val res = runCbt("../examples/kindprojector-example", Seq())
+ assert(res.exit0)
+ }
+
/*
// currently fails with
// java.lang.UnsupportedOperationException: scalafix.rewrite.ScalafixMirror.fromMirror $anon#typeSignature requires the semantic api