diff options
author | Roel Spilker <r.spilker@gmail.com> | 2020-12-22 13:52:03 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-12-22 13:52:03 +0100 |
commit | 208329f10f88a89806f4c115a851235718cea81b (patch) | |
tree | 617c78f7e0b25429ceb7a680875cee3880b22750 | |
parent | c9f6766b6365b72a155d701c2c5714b181e80a6e (diff) | |
download | lombok-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.java | 4 |
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"); |