aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliu fengyun <liufengyunchina@gmail.com>2016-12-11 19:39:42 +0100
committerGitHub <noreply@github.com>2016-12-11 19:39:42 +0100
commit740ccf85dbb67e01b9ff27f26542ecf95e874a13 (patch)
tree1f719d36f44d1146bd88ee07eb020fa8ee53ebc4
parentd900813b0518bfe87668df33d309cafeea406f2c (diff)
parent71a291cc11332ba3512a17bf9714d6ce063f873f (diff)
downloaddotty-740ccf85dbb67e01b9ff27f26542ecf95e874a13.tar.gz
dotty-740ccf85dbb67e01b9ff27f26542ecf95e874a13.tar.bz2
dotty-740ccf85dbb67e01b9ff27f26542ecf95e874a13.zip
Merge pull request #1783 from dotty-staging/patmat-check
Fix exhaustivity check test after repo restructuring
-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()