Skip to content

Commit 96112d4

Browse files
committed
BOOST_TEST_FAIL no longer part of Boost
1 parent cf36230 commit 96112d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/tests/htlc_tests.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,10 @@ try {
275275
// this try/catch is just to get some console output to verify the exception
276276
try {
277277
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");
279279
} catch(fc::exception& ex) {
280280
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");
282282
}
283283
trx.clear();
284284
}
@@ -303,7 +303,7 @@ try {
303303
sign(trx, alice_private_key);
304304
try {
305305
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");
307307
} catch(fc::exception& ex) {
308308
if (ex.to_string().find("Memo unavailable") == std::string::npos )
309309
{

0 commit comments

Comments
 (0)