mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-02 16:20:19 +00:00
Improved error reporting
This commit is contained in:
@@ -64,7 +64,7 @@ public class TestViaDelombok {
|
||||
String expected = expectedLines[i];
|
||||
String actual = actualLines[i];
|
||||
if (!expected.equals(actual)) {
|
||||
fail(String.format("Difference in line %s(%d):\n`%s`\n`%s`\n", name, i, expected, actual));
|
||||
fail(String.format("Difference in line %s(%d):\nExpected `%s`\nGot `%s`\n", name, i, expected, actual));
|
||||
}
|
||||
}
|
||||
if (expectedLines.length > actualLines.length) {
|
||||
|
||||
Reference in New Issue
Block a user