diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/FirFailingTestSuppressor.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/FirFailingTestSuppressor.kt index e9be7252693..a9568e8fea2 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/FirFailingTestSuppressor.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/FirFailingTestSuppressor.kt @@ -19,7 +19,9 @@ class FirFailingTestSuppressor(testServices: TestServices) : AfterAnalysisChecke return when { failFile.exists() && exceptionFromFir != null -> emptyList() failFile.exists() && exceptionFromFir == null -> { - failedAssertions + AssertionError("Fail file exists but no exception was throw. Please remove ${failFile.name}").wrap() + emptyList() + // TODO: revert it when `DiagnosisCompilerTestFE10TestdataTestGenerated` supports `*.fir.fail` files +// failedAssertions + AssertionError("Fail file exists but no exception was throw. Please remove ${failFile.name}").wrap() } else -> failedAssertions }