diff options
author | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-03-13 20:10:38 +0800 |
---|---|---|
committer | Paweł Bylica <chfast@gmail.com> | 2015-03-14 07:18:52 +0800 |
commit | 3782a33e5004df06714648b5462d3d1960ed9de0 (patch) | |
tree | f49ff35f1f8150355f4326ff42562e84257016f1 /state.cpp | |
parent | 31db4fbde86ede91b3af9336d7632e4c700960d6 (diff) | |
download | dexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.tar dexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.tar.gz dexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.tar.bz2 dexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.tar.lz dexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.tar.xz dexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.tar.zst dexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.zip |
Prettify VM and State test outputs
Diffstat (limited to 'state.cpp')
-rw-r--r-- | state.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -47,7 +47,7 @@ void doStateTests(json_spirit::mValue& v, bool _fillin) for (auto& i: v.get_obj()) { - cerr << i.first << endl; + std::cout << " " << i.first << "\n"; mObject& o = i.second.get_obj(); BOOST_REQUIRE(o.count("env") > 0); @@ -67,12 +67,12 @@ void doStateTests(json_spirit::mValue& v, bool _fillin) } catch (Exception const& _e) { - cnote << "state execution did throw an exception: " << diagnostic_information(_e); + cnote << "Exception:\n" << diagnostic_information(_e); theState.commit(); } catch (std::exception const& _e) { - cnote << "state execution did throw an exception: " << _e.what(); + cnote << "state execution exception: " << _e.what(); } if (_fillin) |