aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2013-03-26 02:39:52 +0100
committerRoel Spilker <r.spilker@gmail.com>2013-03-26 02:39:52 +0100
commit7a50b9a6345de2826a6fc314c8d31e9bfd3fca32 (patch)
tree1cf2c33283007946468fb13b6e741ba6b1cccc4e
parentf36deeb25f7ff4799b754482c014a413250b33a5 (diff)
downloadlombok-7a50b9a6345de2826a6fc314c8d31e9bfd3fca32.tar.gz
lombok-7a50b9a6345de2826a6fc314c8d31e9bfd3fca32.tar.bz2
lombok-7a50b9a6345de2826a6fc314c8d31e9bfd3fca32.zip
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.
-rw-r--r--test/core/src/lombok/AbstractRunTests.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/core/src/lombok/AbstractRunTests.java b/test/core/src/lombok/AbstractRunTests.java
index d278c5f3..a80c7d8d 100644
--- a/test/core/src/lombok/AbstractRunTests.java
+++ b/test/core/src/lombok/AbstractRunTests.java
@@ -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();