mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-03 07:13:15 +00:00
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:
1 parent
f36deeb25f
commit
7a50b9a634
1 file changed
+1
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user