diff options
author | winsvega <winsvega@mail.ru> | 2015-04-11 07:45:48 +0800 |
---|---|---|
committer | winsvega <winsvega@mail.ru> | 2015-04-13 17:20:12 +0800 |
commit | 4ba86875629aa5fab0ddfbd6dafd0c7cf7ef0906 (patch) | |
tree | 1691abd45d45ee2fbe0904f30cfc0c4efab1ce74 /transaction.cpp | |
parent | 47849db473e8ed71281209823c6c2823931f0462 (diff) | |
download | dexon-solidity-4ba86875629aa5fab0ddfbd6dafd0c7cf7ef0906.tar dexon-solidity-4ba86875629aa5fab0ddfbd6dafd0c7cf7ef0906.tar.gz dexon-solidity-4ba86875629aa5fab0ddfbd6dafd0c7cf7ef0906.tar.bz2 dexon-solidity-4ba86875629aa5fab0ddfbd6dafd0c7cf7ef0906.tar.lz dexon-solidity-4ba86875629aa5fab0ddfbd6dafd0c7cf7ef0906.tar.xz dexon-solidity-4ba86875629aa5fab0ddfbd6dafd0c7cf7ef0906.tar.zst dexon-solidity-4ba86875629aa5fab0ddfbd6dafd0c7cf7ef0906.zip |
Check State: expect in blocks
transactions test fetched to POC changes
Diffstat (limited to 'transaction.cpp')
-rw-r--r-- | transaction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/transaction.cpp b/transaction.cpp index daf8368d..b87cc37e 100644 --- a/transaction.cpp +++ b/transaction.cpp @@ -62,9 +62,9 @@ void doTransactionTests(json_spirit::mValue& _v, bool _fillin) { bool expectInValid = (o["expect"].get_str() == "invalid"); if (Options::get().checkState) - BOOST_CHECK_MESSAGE(expectInValid, "Check state: Transaction " << i.first << " is not expected to be invalid!"); + BOOST_CHECK_MESSAGE(expectInValid, "Check state: Transaction '" << i.first << "' is expected to be valid!"); else - BOOST_WARN_MESSAGE(expectInValid, "Check state: Transaction " << i.first << " is not expected to be invalid!"); + BOOST_WARN_MESSAGE(expectInValid, "Check state: Transaction '" << i.first << "' is expected to be valid!"); o.erase(o.find("expect")); } @@ -75,9 +75,9 @@ void doTransactionTests(json_spirit::mValue& _v, bool _fillin) { bool expectValid = (o["expect"].get_str() == "valid"); if (Options::get().checkState) - BOOST_CHECK_MESSAGE(expectValid, "Check state: Transaction " << i.first << " is not expected to be valid!"); + BOOST_CHECK_MESSAGE(expectValid, "Check state: Transaction '" << i.first << "' is expected to be invalid!"); else - BOOST_WARN_MESSAGE(expectValid, "Check state: Transaction " << i.first << " is not expected to be valid!"); + BOOST_WARN_MESSAGE(expectValid, "Check state: Transaction '" << i.first << "' is expected to be invalid!"); o.erase(o.find("expect")); } |