aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala')
-rw-r--r--compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala10
1 files changed, 6 insertions, 4 deletions
diff --git a/compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala b/compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala
index d9a5d8a38..96ab241fd 100644
--- a/compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala
+++ b/compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala
@@ -1,17 +1,19 @@
-package test.transform
+package dotty
+package tools
+package dotc
+package transform
import java.io._
import scala.io.Source._
import scala.reflect.io.Directory
import org.junit.Test
-import dotty.tools.dotc.Main
-import dotty.tools.dotc.reporting.TestReporter
+import reporting.TestReporter
class PatmatExhaustivityTest {
val testsDir = "../tests/patmat"
// stop-after: patmatexhaust-huge.scala crash compiler
- val options = List("-color:never", "-Ystop-after:splitter", "-Ycheck-all-patmat") ++ (new dotc.tests).classPath
+ val options = List("-color:never", "-Ystop-after:splitter", "-Ycheck-all-patmat") ++ CompilationTests.classPath
private def compileFile(file: File) = {
val stringBuffer = new StringWriter()