aboutsummaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorliu fengyun <liu@fengy.me>2016-12-11 18:59:12 +0100
committerliu fengyun <liu@fengy.me>2016-12-11 18:59:12 +0100
commit71a291cc11332ba3512a17bf9714d6ce063f873f (patch)
tree1f719d36f44d1146bd88ee07eb020fa8ee53ebc4 /compiler
parentd900813b0518bfe87668df33d309cafeea406f2c (diff)
downloaddotty-71a291cc11332ba3512a17bf9714d6ce063f873f.tar.gz
dotty-71a291cc11332ba3512a17bf9714d6ce063f873f.tar.bz2
dotty-71a291cc11332ba3512a17bf9714d6ce063f873f.zip
fix exhaustivity check test after repo restructuring
Diffstat (limited to 'compiler')
-rw-r--r--compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala b/compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala
index c77ba501f..d9a5d8a38 100644
--- a/compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala
+++ b/compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala
@@ -9,9 +9,9 @@ import dotty.tools.dotc.Main
import dotty.tools.dotc.reporting.TestReporter
class PatmatExhaustivityTest {
- val testsDir = "./tests/patmat"
+ val testsDir = "../tests/patmat"
// stop-after: patmatexhaust-huge.scala crash compiler
- val options = List("-color:never", "-Ystop-after:splitter", "-Ycheck-all-patmat")
+ val options = List("-color:never", "-Ystop-after:splitter", "-Ycheck-all-patmat") ++ (new dotc.tests).classPath
private def compileFile(file: File) = {
val stringBuffer = new StringWriter()