diff options
author | Roel Spilker <r.spilker@gmail.com> | 2013-03-26 02:39:52 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2013-03-26 02:39:52 +0100 |
commit | 7a50b9a6345de2826a6fc314c8d31e9bfd3fca32 (patch) | |
tree | 1cf2c33283007946468fb13b6e741ba6b1cccc4e | |
parent | f36deeb25f7ff4799b754482c014a413250b33a5 (diff) | |
download | lombok-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.java | 3 |
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(); |