diff --git a/idea/tests/org/jetbrains/kotlin/idea/intentions/AbstractIntentionTest.java b/idea/tests/org/jetbrains/kotlin/idea/intentions/AbstractIntentionTest.java index 23b0edf9e68..a0196b3570f 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/intentions/AbstractIntentionTest.java +++ b/idea/tests/org/jetbrains/kotlin/idea/intentions/AbstractIntentionTest.java @@ -171,7 +171,7 @@ public abstract class AbstractIntentionTest extends KotlinCodeInsightTestCase { } ); // Don't bother checking if it should have failed. - if (shouldFailString == null) { + if (shouldFailString.isEmpty()) { for (Map.Entry entry: pathToFiles.entrySet()) { String filePath = entry.getKey(); String canonicalPathToExpectedFile = PathUtil.getCanonicalPath(filePath + ".after");