@@ -61,9 +61,7 @@ class CompilationTests extends ParallelTesting {
6161 compileFile(" tests/pos-special/i7296.scala" , defaultOptions.and(" -strict" , " -deprecation" , " -Xfatal-warnings" )),
6262 compileFile(" tests/pos-special/notNull.scala" , defaultOptions.and(" -Yexplicit-nulls" )),
6363 compileDir(" tests/pos-special/adhoc-extension" , defaultOptions.and(" -strict" , " -feature" , " -Xfatal-warnings" )),
64- compileFile(" tests/pos-special/i7575.scala" , defaultOptions.and(" -language:dynamics" )),
65-
66- withLibs(" junit:junit:4.13" ) { flags => compileFile(" tests/pos-custom-args/i7990.scala" , flags) }
64+ compileFile(" tests/pos-special/i7575.scala" , defaultOptions.and(" -language:dynamics" ))
6765 ).checkCompile()
6866 }
6967
@@ -172,7 +170,8 @@ class CompilationTests extends ParallelTesting {
172170 compileFile(" tests/run-custom-args/no-useless-forwarders.scala" , defaultOptions and " -Xmixin-force-forwarders:false" ),
173171 compileFilesInDir(" tests/run-custom-args/erased" , defaultOptions.and(" -Yerased-terms" )),
174172 compileFilesInDir(" tests/run-deep-subtype" , allowDeepSubtypes),
175- compileFilesInDir(" tests/run" , defaultOptions)
173+ compileFilesInDir(" tests/run" , defaultOptions),
174+ withLibs(" junit:junit:4.13" ) { flags => compileFile(" tests/run-custom-args/i7990.scala" , flags) }
176175 ).checkRuns()
177176 }
178177
0 commit comments