diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-07 20:32:23 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-09 05:24:29 +0800 |
commit | 43bae9dd0bd924ad4a7277ea3c0a8f69d85f4870 (patch) | |
tree | 1bf561a91cdd8a5796da9236d099022a48ba043d | |
parent | b66d9c3258c986c44e013595da5b021b7cdf8775 (diff) | |
download | dexon-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.cpp | 2 |
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")) { |