enumchecks not working

This commit is contained in:
djuju
2017-04-28 15:24:59 +02:00
parent 5fd7942173
commit 45f8c5aa88
3 changed files with 39 additions and 15 deletions
+3
View File
@@ -68,7 +68,10 @@ bool containsAtMostWarnings(Json::Value const& _compilerResult)
BOOST_REQUIRE(error.isObject());
BOOST_REQUIRE(error["severity"].isString());
if (error["severity"].asString() != "warning")
{
cout << error << std::endl;
return false;
}
}
return true;