diff --git a/compiler/tests/org/jetbrains/jet/test/util/RecursiveDescriptorProcessorTest.java b/compiler/tests/org/jetbrains/jet/test/util/RecursiveDescriptorProcessorTest.java index 842d68ffb3e..5fd6153054f 100644 --- a/compiler/tests/org/jetbrains/jet/test/util/RecursiveDescriptorProcessorTest.java +++ b/compiler/tests/org/jetbrains/jet/test/util/RecursiveDescriptorProcessorTest.java @@ -61,7 +61,7 @@ public class RecursiveDescriptorProcessorTest extends KotlinTestWithEnvironment fail("Test data file did not exist and was created from the results of the test: " + txtFile); } - assertEquals(FileUtil.loadFile(txtFile), actualText); + assertSameLinesWithFile(txtFile.getAbsolutePath(), actualText); } private static Class closestInterface(Class aClass) {