aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-16 21:52:56 +0800
committerchriseth <chris@ethereum.org>2017-06-24 01:29:11 +0800
commit64067975e4d06a984fb7b92dcfb7484561c01de3 (patch)
tree17a78893b3585b22476e2fa51b8e4e7d8b453442 /test
parent7f05ef8acac2cc6ef1df70d31205e72422540272 (diff)
downloaddexon-solidity-64067975e4d06a984fb7b92dcfb7484561c01de3.tar
dexon-solidity-64067975e4d06a984fb7b92dcfb7484561c01de3.tar.gz
dexon-solidity-64067975e4d06a984fb7b92dcfb7484561c01de3.tar.bz2
dexon-solidity-64067975e4d06a984fb7b92dcfb7484561c01de3.tar.lz
dexon-solidity-64067975e4d06a984fb7b92dcfb7484561c01de3.tar.xz
dexon-solidity-64067975e4d06a984fb7b92dcfb7484561c01de3.tar.zst
dexon-solidity-64067975e4d06a984fb7b92dcfb7484561c01de3.zip
Review suggestions.
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/JSONCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/JSONCompiler.cpp b/test/libsolidity/JSONCompiler.cpp
index 1e44e1a7..aa690f0b 100644
--- a/test/libsolidity/JSONCompiler.cpp
+++ b/test/libsolidity/JSONCompiler.cpp
@@ -73,7 +73,7 @@ BOOST_AUTO_TEST_CASE(basic_compilation)
Json::Value contract = result["contracts"]["fileA:A"];
BOOST_CHECK(contract.isObject());
BOOST_CHECK(contract["interface"].isString());
- BOOST_CHECK(contract["interface"].asString() == "[]");
+ BOOST_CHECK_EQUAL(contract["interface"].asString(), "[]");
BOOST_CHECK(contract["bytecode"].isString());
BOOST_CHECK_EQUAL(
dev::test::bytecodeSansMetadata(contract["bytecode"].asString()),