Commit 96112d4 1 parent cf36230 commit 96112d4 Copy full SHA for 96112d4
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -275,10 +275,10 @@ try {
275
275
// this try/catch is just to get some console output to verify the exception
276
276
try {
277
277
PUSH_TX (db, trx, ~0 );
278
- BOOST_TEST_FAIL (" crate_operation should have failed due to the HASH160 hash" );
278
+ BOOST_FAIL (" crate_operation should have failed due to the HASH160 hash" );
279
279
} catch (fc::exception & ex) {
280
280
if ( ex.to_string ().find (" HASH160 unavailable" ) == std::string::npos )
281
- BOOST_TEST_FAIL (" create_operation failed but not due to the hash160 function" );
281
+ BOOST_FAIL (" create_operation failed but not due to the hash160 function" );
282
282
}
283
283
trx.clear ();
284
284
}
@@ -303,7 +303,7 @@ try {
303
303
sign (trx, alice_private_key);
304
304
try {
305
305
PUSH_TX (db, trx, ~0 );
306
- BOOST_TEST_FAIL (" crate_operation should have failed due to the memo field" );
306
+ BOOST_FAIL (" crate_operation should have failed due to the memo field" );
307
307
} catch (fc::exception & ex) {
308
308
if (ex.to_string ().find (" Memo unavailable" ) == std::string::npos )
309
309
{
You can’t perform that action at this time.
0 commit comments