diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2020-08-28 00:27:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 00:27:33 +0200 |
commit | 409f0428c712207a920acd3ca7c429d97f2d13a1 (patch) | |
tree | 9f55f565aaaf162b45d79b63a2a5276766753559 /test/configuration/src/lombok/core | |
parent | 7f8e15762d4f3428d38579f702e65a4a302b1dac (diff) | |
parent | 79c3d383fd7d46ec1c6c5cf83d8b05f2238529a2 (diff) | |
download | lombok-409f0428c712207a920acd3ca7c429d97f2d13a1.tar.gz lombok-409f0428c712207a920acd3ca7c429d97f2d13a1.tar.bz2 lombok-409f0428c712207a920acd3ca7c429d97f2d13a1.zip |
Merge pull request #2548 from rosti-il/master
Fix tests under Windows, fix test.javac11 and test.javac14, fix issue #1745
Diffstat (limited to 'test/configuration/src/lombok/core')
-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 3032daf3..504c36b2 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("\r\n", "\n").replace('\\', '/').replaceAll(Pattern.quote(normalizedName) + "|" + Pattern.quote(baseName), "BASE/").trim(); - String err = new String(rawErr.toByteArray()).replace("\r\n", "\n").replace('\\', '/').replaceAll(Pattern.quote(normalizedName) + "|" + Pattern.quote(baseName), "BASE/").trim(); + 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(); checkContent(directory, out, "out"); checkContent(directory, err, "err"); |