diff options
Diffstat (limited to 'test/configuration')
-rw-r--r-- | test/configuration/src/lombok/core/configuration/TestConfiguration.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/configuration/src/lombok/core/configuration/TestConfiguration.java b/test/configuration/src/lombok/core/configuration/TestConfiguration.java index ebb556de..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<ConfigurationKey<?>> 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/"; @@ -70,11 +70,11 @@ public class TestConfiguration { checkContent(directory, out, "out"); checkContent(directory, err, "err"); - assertEquals(0, result); + assertEquals(2, result); } 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); |