Decoupled error checking and report printing in CommonSyntaxTest.

This commit is contained in:
a3d4
2020-03-16 23:22:56 +01:00
parent 66783c30ce
commit bb38ce1759
5 changed files with 21 additions and 16 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ TestCase::TestResult SMTCheckerJSONTest::run(ostream& _stream, string const& _li
}
}
return printExpectationAndError(_stream, _linePrefix, _formatted) ? TestResult::Success : TestResult::Failure;
return conclude(_stream, _linePrefix, _formatted);
}
vector<string> SMTCheckerJSONTest::hashesFromJson(Json::Value const& _jsonObj, string const& _auxInput, string const& _smtlib)