mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 16:17:34 +00:00
[testing] restore the printing of the actual/expected when tests fail.
This commit is contained in:
2 files changed
+6
-5
No files matched your search
@@ -278,7 +278,6 @@ public class PrettyPrinter extends JCTree.Visitor {
|
||||
aligned = false;
|
||||
}
|
||||
|
||||
|
||||
private void println() {
|
||||
try {
|
||||
out.write(LINE_SEP);
|
||||
|
||||
@@ -42,13 +42,15 @@ public class SimpleTestFormatter implements JUnitResultFormatter {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSystemError(String err) {
|
||||
// don't echo test error output
|
||||
public void setSystemError(String msg) {
|
||||
if (msg.trim().isEmpty()) return;
|
||||
out.println(msg);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSystemOutput(String out) {
|
||||
// don't echo test output
|
||||
public void setSystemOutput(String msg) {
|
||||
if (msg.trim().isEmpty()) return;
|
||||
out.println(msg);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user