aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authordjuju <julfaber@gmail.com>2017-04-28 21:24:59 +0800
committerdjuju <julfaber@gmail.com>2017-04-28 21:24:59 +0800
commit45f8c5aa882ecc18f073984cd4d34a6c8be7e5e0 (patch)
tree69610e339fa440620a3da1e8bc84effe59898d75 /test
parent5fd7942173a71f1cf7ca1cae0dcde1905482f004 (diff)
downloaddexon-solidity-45f8c5aa882ecc18f073984cd4d34a6c8be7e5e0.tar.gz
dexon-solidity-45f8c5aa882ecc18f073984cd4d34a6c8be7e5e0.tar.zst
dexon-solidity-45f8c5aa882ecc18f073984cd4d34a6c8be7e5e0.zip
enumchecks not working
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/StandardCompiler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/libsolidity/StandardCompiler.cpp b/test/libsolidity/StandardCompiler.cpp
index 9b53e841..f480ba6f 100644
--- a/test/libsolidity/StandardCompiler.cpp
+++ b/test/libsolidity/StandardCompiler.cpp
@@ -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;