Commit cf6acc53 authored by Alexander's avatar Alexander

Improve error message for NO_OUTPUT in case of empty string

parent 79ebb5e6
......@@ -240,7 +240,10 @@ public abstract class TestBase {
if (output != null) {
log.info(" Failed!\n");
printLog();
fail("Output should have been empty but was:" + output);
if (output.equals("")) {
output = "(empty string)";
}
fail("Output should have been empty but was: " + output);
}
break;
case NO_CHECK:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment