aboutsummaryrefslogtreecommitdiff
path: root/src/support
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-19 02:38:58 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-19 02:38:58 +0100
commit420d09f99de34fc1303656aafc498bb1188b52ed (patch)
treec246d3220934e5a251c63ad99071f6d01352f31e /src/support
parentccd6a4e8951826e51802ef5b2ebe3d23d2febe29 (diff)
downloadlombok-420d09f99de34fc1303656aafc498bb1188b52ed.tar.gz
lombok-420d09f99de34fc1303656aafc498bb1188b52ed.tar.bz2
lombok-420d09f99de34fc1303656aafc498bb1188b52ed.zip
[testing] restore the printing of the actual/expected when tests fail.
Diffstat (limited to 'src/support')
-rw-r--r--src/support/lombok/ant/SimpleTestFormatter.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/support/lombok/ant/SimpleTestFormatter.java b/src/support/lombok/ant/SimpleTestFormatter.java
index 2f605d06..a2a38420 100644
--- a/src/support/lombok/ant/SimpleTestFormatter.java
+++ b/src/support/lombok/ant/SimpleTestFormatter.java
@@ -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