[testing] restore the printing of the actual/expected when tests fail.

This commit is contained in:
Reinier Zwitserloot committed 2021-03-19 02:38:58 +01:00
1 parent ccd6a4e895
commit 420d09f99d
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