Convert both strings to \n before comparing

This commit is contained in:
Andrey Breslav
2013-06-13 14:40:41 +04:00
parent 1f45e309d2
commit 6629892dad
@@ -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); 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) { private static Class closestInterface(Class<?> aClass) {