Bad merge in AbstactIntentionTest that made tests useless

This commit is contained in:
Nikolay Krasko
2016-04-05 22:06:36 +03:00
parent 01b0cfb552
commit d8a2cab708
@@ -171,7 +171,7 @@ public abstract class AbstractIntentionTest extends KotlinCodeInsightTestCase {
} }
); );
// Don't bother checking if it should have failed. // Don't bother checking if it should have failed.
if (shouldFailString == null) { if (shouldFailString.isEmpty()) {
for (Map.Entry<String, PsiFile> entry: pathToFiles.entrySet()) { for (Map.Entry<String, PsiFile> entry: pathToFiles.entrySet()) {
String filePath = entry.getKey(); String filePath = entry.getKey();
String canonicalPathToExpectedFile = PathUtil.getCanonicalPath(filePath + ".after"); String canonicalPathToExpectedFile = PathUtil.getCanonicalPath(filePath + ".after");