aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-02-07 20:32:23 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-02-09 05:24:29 +0800
commit43bae9dd0bd924ad4a7277ea3c0a8f69d85f4870 (patch)
tree1bf561a91cdd8a5796da9236d099022a48ba043d
parentb66d9c3258c986c44e013595da5b021b7cdf8775 (diff)
downloaddexon-solidity-43bae9dd0bd924ad4a7277ea3c0a8f69d85f4870.tar
dexon-solidity-43bae9dd0bd924ad4a7277ea3c0a8f69d85f4870.tar.gz
dexon-solidity-43bae9dd0bd924ad4a7277ea3c0a8f69d85f4870.tar.bz2
dexon-solidity-43bae9dd0bd924ad4a7277ea3c0a8f69d85f4870.tar.lz
dexon-solidity-43bae9dd0bd924ad4a7277ea3c0a8f69d85f4870.tar.xz
dexon-solidity-43bae9dd0bd924ad4a7277ea3c0a8f69d85f4870.tar.zst
dexon-solidity-43bae9dd0bd924ad4a7277ea3c0a8f69d85f4870.zip
Ensure that a valid RPC response is received through IPC
-rw-r--r--test/RPCSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp
index 44d21d69..f67696d9 100644
--- a/test/RPCSession.cpp
+++ b/test/RPCSession.cpp
@@ -302,7 +302,7 @@ Json::Value RPCSession::rpcCall(string const& _methodName, vector<string> const&
//cout << "Reply: " << reply << endl;
Json::Value result;
- Json::Reader().parse(reply, result, false);
+ BOOST_REQUIRE(Json::Reader().parse(reply, result, false));
if (result.isMember("error"))
{