@@ -133,7 +133,7 @@ class CompilationTests {
133
133
@ Test def negAll : Unit = {
134
134
implicit val testGroup : TestGroup = TestGroup (" compileNeg" )
135
135
aggregateTests(
136
- compileFilesInDir(" tests/neg" , defaultOptions, FileFilter .exclude(TestSources .scala2LibraryTastyBlacklisted )),
136
+ compileFilesInDir(" tests/neg" , defaultOptions, FileFilter .exclude(TestSources .negScala2LibraryTastyBlacklisted )),
137
137
compileFilesInDir(" tests/neg-deep-subtype" , allowDeepSubtypes),
138
138
compileFilesInDir(" tests/neg-custom-args/captures" , defaultOptions.and(" -language:experimental.captureChecking" )),
139
139
compileFile(" tests/neg-custom-args/sourcepath/outer/nested/Test1.scala" , defaultOptions.and(" -sourcepath" , " tests/neg-custom-args/sourcepath" )),
@@ -156,7 +156,7 @@ class CompilationTests {
156
156
@ Test def runAll : Unit = {
157
157
implicit val testGroup : TestGroup = TestGroup (" runAll" )
158
158
aggregateTests(
159
- compileFilesInDir(" tests/run" , defaultOptions.and(" -Ysafe-init" ), FileFilter .exclude( TestSources .scala2LibraryTastyBlacklisted) ),
159
+ compileFilesInDir(" tests/run" , defaultOptions.and(" -Ysafe-init" )),
160
160
compileFilesInDir(" tests/run-deep-subtype" , allowDeepSubtypes),
161
161
compileFilesInDir(" tests/run-custom-args/captures" , allowDeepSubtypes.and(" -language:experimental.captureChecking" )),
162
162
// Run tests for legacy lazy vals.
@@ -216,8 +216,8 @@ class CompilationTests {
216
216
@ Test def checkInitGlobal : Unit = {
217
217
implicit val testGroup : TestGroup = TestGroup (" checkInitGlobal" )
218
218
val options = defaultOptions.and(" -Ysafe-init-global" , " -Xfatal-warnings" )
219
- compileFilesInDir(" tests/init-global/neg" , options, FileFilter .exclude(TestSources .scala2LibraryTastyBlacklisted )).checkExpectedErrors()
220
- compileFilesInDir(" tests/init-global/pos" , options, FileFilter .exclude(TestSources .scala2LibraryTastyBlacklisted )).checkCompile()
219
+ compileFilesInDir(" tests/init-global/neg" , options, FileFilter .exclude(TestSources .negInitGlobalScala2LibraryTastyBlacklistFile )).checkExpectedErrors()
220
+ compileFilesInDir(" tests/init-global/pos" , options, FileFilter .exclude(TestSources .posInitGlobalScala2LibraryTastyBlacklistFile )).checkCompile()
221
221
}
222
222
223
223
// initialization tests
0 commit comments