From 71a291cc11332ba3512a17bf9714d6ce063f873f Mon Sep 17 00:00:00 2001 From: liu fengyun Date: Sun, 11 Dec 2016 18:59:12 +0100 Subject: [PATCH] fix exhaustivity check test after repo restructuring --- .../dotty/tools/dotc/transform/PatmatExhaustivityTest.scala | 4 ++-- 1 file 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 c77ba501f867..d9a5d8a386b6 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()