aboutsummaryrefslogtreecommitdiff
path: root/compiler/test
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/test')
-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()