Commit b4e35c4f authored by Jon Amos Fehling's avatar Jon Amos Fehling
Browse files

fix error of false positive

parent 37b6fd95
......@@ -235,14 +235,15 @@ public abstract class TestBase {
failAndLog(testPair.getFailMessage(output));
}
break;
case NO_CHECK:
break;
case CHECK_FOR_NO_OUTPUT:
if (testPair.getOutput() != null) {
if (output != null) {
log.info(" Failed!\n");
printLog();
fail("Output should have been empty but was:" + output);
}
break;
case NO_CHECK:
break;
default:
fail("Unimplemented error 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