From 814c3638ff46fc332f51a9a1052e5449f279382d Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Thu, 2 May 2019 15:29:32 +0200 Subject: [PATCH] Fix negAll tests Currently only the last test is executed --- compiler/test/dotty/tools/dotc/CompilationTests.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/test/dotty/tools/dotc/CompilationTests.scala b/compiler/test/dotty/tools/dotc/CompilationTests.scala index 898697833765..a31592ee16b4 100644 --- a/compiler/test/dotty/tools/dotc/CompilationTests.scala +++ b/compiler/test/dotty/tools/dotc/CompilationTests.scala @@ -172,7 +172,7 @@ class CompilationTests extends ParallelTesting { "tests/neg-custom-args/toplevel-samesource/S.scala", "tests/neg-custom-args/toplevel-samesource/nested/S.scala"), defaultOptions) + - compileFile("tests/neg-custom-args/i6300.scala", allowDeepSubtypes) + compileFile("tests/neg-custom-args/i6300.scala", allowDeepSubtypes) + compileFile("tests/neg-custom-args/i6312.scala", defaultOptions and "-Xfatal-warnings" and "-migration") }.checkExpectedErrors()