Fail on redundant IGNORE_BACKEND directives, as before
This commit is contained in:
-2
@@ -30,8 +30,6 @@ class BlackBoxCodegenSuppressor(
|
||||
|
||||
@OptIn(ExperimentalStdlibApi::class)
|
||||
override fun suppressIfNeeded(failedAssertions: List<WrappedException>): List<WrappedException> {
|
||||
if (failedAssertions.isEmpty()) return failedAssertions
|
||||
|
||||
val suppressionChecker = testServices.codegenSuppressionChecker
|
||||
val moduleStructure = testServices.moduleStructure
|
||||
val ignoreDirective = suppressionChecker.extractIgnoreDirective(moduleStructure.modules.first()) ?: return failedAssertions
|
||||
|
||||
Reference in New Issue
Block a user