diff options
Diffstat (limited to 'compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala')
-rw-r--r-- | compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala | 4 |
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 96ab241fd..eff86e6e7 100644 --- a/compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala +++ b/compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala @@ -17,7 +17,7 @@ class PatmatExhaustivityTest { private def compileFile(file: File) = { val stringBuffer = new StringWriter() - val reporter = new TestReporter(new PrintWriter(stringBuffer)) + val reporter = TestReporter.simplifiedReporter(new PrintWriter(stringBuffer)) try { Main.process((file.getPath::options).toArray, reporter, null) @@ -40,7 +40,7 @@ class PatmatExhaustivityTest { /** A single test with multiple files grouped in a folder */ private def compileDir(file: File) = { val stringBuffer = new StringWriter() - val reporter = new TestReporter(new PrintWriter(stringBuffer)) + val reporter = TestReporter.simplifiedReporter(new PrintWriter(stringBuffer)) val files = Directory(file.getPath).list.toList .filter(f => f.extension == "scala" || f.extension == "java" ) |