Skip to content

Commit 740ccf8

Browse files
authored
Merge pull request #1783 from dotty-staging/patmat-check
Fix exhaustivity check test after repo restructuring
2 parents d900813 + 71a291c commit 740ccf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import dotty.tools.dotc.Main
99
import dotty.tools.dotc.reporting.TestReporter
1010

1111
class PatmatExhaustivityTest {
12-
val testsDir = "./tests/patmat"
12+
val testsDir = "../tests/patmat"
1313
// stop-after: patmatexhaust-huge.scala crash compiler
14-
val options = List("-color:never", "-Ystop-after:splitter", "-Ycheck-all-patmat")
14+
val options = List("-color:never", "-Ystop-after:splitter", "-Ycheck-all-patmat") ++ (new dotc.tests).classPath
1515

1616
private def compileFile(file: File) = {
1717
val stringBuffer = new StringWriter()

0 commit comments

Comments
 (0)