LOG.error in test mode in any case will throw error

This commit is contained in:
Vladimir Krivosheev
2019-02-06 12:13:19 +01:00
parent 33da6e0240
commit 9337a01644
@@ -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);