aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2020-12-22 13:52:03 +0100
committerRoel Spilker <r.spilker@gmail.com>2020-12-22 13:52:03 +0100
commit208329f10f88a89806f4c115a851235718cea81b (patch)
tree617c78f7e0b25429ceb7a680875cee3880b22750
parentc9f6766b6365b72a155d701c2c5714b181e80a6e (diff)
downloadlombok-208329f10f88a89806f4c115a851235718cea81b.tar.gz
lombok-208329f10f88a89806f4c115a851235718cea81b.tar.bz2
lombok-208329f10f88a89806f4c115a851235718cea81b.zip
Fix configuration test, the configuration app generates platform-specific line-endings
-rw-r--r--test/configuration/src/lombok/core/configuration/TestConfiguration.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/configuration/src/lombok/core/configuration/TestConfiguration.java b/test/configuration/src/lombok/core/configuration/TestConfiguration.java
index 504c36b2..ebb556de 100644
--- a/test/configuration/src/lombok/core/configuration/TestConfiguration.java
+++ b/test/configuration/src/lombok/core/configuration/TestConfiguration.java
@@ -65,8 +65,8 @@ public class TestConfiguration {
outStream.flush();
errStream.flush();
- String out = new String(rawOut.toByteArray()).replace('\\', '/').replaceAll(Pattern.quote(normalizedName) + "|" + Pattern.quote(baseName), "BASE/").trim();
- String err = new String(rawErr.toByteArray()).replace('\\', '/').replaceAll(Pattern.quote(normalizedName) + "|" + Pattern.quote(baseName), "BASE/").trim();
+ String out = new String(rawOut.toByteArray()).replace('\\', '/').replace("\r", "").replaceAll(Pattern.quote(normalizedName) + "|" + Pattern.quote(baseName), "BASE/").trim();
+ String err = new String(rawErr.toByteArray()).replace('\\', '/').replace("\r", "").replaceAll(Pattern.quote(normalizedName) + "|" + Pattern.quote(baseName), "BASE/").trim();
checkContent(directory, out, "out");
checkContent(directory, err, "err");