[FIR] KT-57655: Add the missing condition
^KT-57655 Fixed
This commit is contained in:
committed by
Space Team
parent
c4d5332251
commit
931894ab3c
+2
-1
@@ -42,7 +42,8 @@ abstract class AbstractLightAnalysisModeTest : CodegenTestCase() {
|
||||
override fun doMultiFileTest(wholeFile: File, files: List<TestFile>) {
|
||||
var isIgnored = false
|
||||
for (file in files) {
|
||||
if (file.content.contains(failDirective)) throw RuntimeException("Forced ignore for this test")
|
||||
if (file.content.contains(failDirective))
|
||||
throw RuntimeException("Forced ignore for this test")
|
||||
if (!isIgnored && ignoreDirectives.any { file.content.contains(it) }) isIgnored = true
|
||||
}
|
||||
if (isIgnored) return
|
||||
|
||||
Reference in New Issue
Block a user