We used to add the platform line ending when comparing test files. This obviously doesn't work on windows; we force unix line ending now.

This commit is contained in:
Roel Spilker committed 2013-03-26 02:39:52 +01:00
1 parent f36deeb25f
commit 7a50b9a634
1 file changed
+1 -2
+1 -2
View File
@@ -43,7 +43,6 @@ import java.util.List;
import lombok.javac.CapturingDiagnosticListener.CompilerMessage;
public abstract class AbstractRunTests {
protected static final String LINE_SEPARATOR = System.getProperty("line.separator");
private final File dumpActualFilesHere;
public AbstractRunTests() {
@@ -98,7 +97,7 @@ public abstract class AbstractRunTests {
String line;
while ((line = reader.readLine()) != null) {
result.append(line);
result.append(LINE_SEPARATOR);
result.append("\n");
}
reader.close();
return result.toString();