From 6629892dad548df3a6cdddde9e460251e936eaa6 Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Thu, 13 Jun 2013 14:40:41 +0400 Subject: [PATCH] Convert both strings to \n before comparing --- .../jet/test/util/RecursiveDescriptorProcessorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {