diff --git a/test/configuration/src/lombok/core/configuration/TestConfiguration.java b/test/configuration/src/lombok/core/configuration/TestConfiguration.java index 41f22028..d2ceb5fc 100644 --- a/test/configuration/src/lombok/core/configuration/TestConfiguration.java +++ b/test/configuration/src/lombok/core/configuration/TestConfiguration.java @@ -39,7 +39,7 @@ public class TestConfiguration { @Test public void testDisplayVerbose() throws Exception { - @SuppressWarnings(value = {"unchecked", "deprecation"}) + @SuppressWarnings(value = {"all", "unchecked", "deprecation"}) Collection> keys = Arrays.asList(ACCESSORS_FLAG_USAGE, ACCESSORS_CHAIN, ACCESSORS_PREFIX, ADD_GENERATED_ANNOTATIONS, ADD_JAVAX_GENERATED_ANNOTATIONS, ANY_CONSTRUCTOR_ADD_CONSTRUCTOR_PROPERTIES, LOG_ANY_FIELD_NAME, COPYABLE_ANNOTATIONS); String baseName = "test/configuration/resource/configurationRoot/"; @@ -74,7 +74,7 @@ public class TestConfiguration { } private void checkContent(File dir, String actual, String type) throws Exception { - String expected = fileToString(new File(dir, type + ".txt")).trim(); + String expected = fileToString(new File(dir, type + ".txt")).replace("\r", "").trim(); if (!expected.equals(actual)) { System.out.printf("**** Expected %s:\n", type); System.out.println(expected);