From 9337a016440081e4e8bf9ef6d6a5fcf8885d8d6b Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Wed, 6 Feb 2019 11:08:13 +0100 Subject: [PATCH] LOG.error in test mode in any case will throw error --- .../intellij/testFramework/LightPlatformCodeInsightTestCase.java | 1 - 1 file changed, 1 deletion(-) diff --git a/platform/testFramework/src/com/intellij/testFramework/LightPlatformCodeInsightTestCase.java b/platform/testFramework/src/com/intellij/testFramework/LightPlatformCodeInsightTestCase.java index 5e82fb750ea4..67b2de8869bb 100644 --- a/platform/testFramework/src/com/intellij/testFramework/LightPlatformCodeInsightTestCase.java +++ b/platform/testFramework/src/com/intellij/testFramework/LightPlatformCodeInsightTestCase.java @@ -320,7 +320,6 @@ public abstract class LightPlatformCodeInsightTestCase extends LightPlatformTest fileText = FileUtil.loadFile(ioFile, CharsetToolkit.UTF8_CHARSET); } catch (IOException e) { - LOG.error(e); throw new RuntimeException(e); } checkResultByText(message, StringUtil.convertLineSeparators(fileText), ignoreTrailingSpaces, getTestDataPath() + "/" + expectedFilePath);