Silence "Test case [...] did not check any assertions" warnings when running "test_bitcoin --log_level=test_suite"

This commit is contained in:
practicalswift
2019-03-29 15:22:48 +01:00
parent 5fd73c8694
commit 0aef39d067
2 changed files with 4 additions and 1 deletions

View File

@@ -386,6 +386,7 @@ BOOST_AUTO_TEST_CASE(TransactionsRequestDeserializationOverflowTest) {
BOOST_CHECK(0);
} catch(std::ios_base::failure &) {
// deserialize should fail
BOOST_CHECK(true); // Needed to suppress "Test case [...] did not check any assertions"
}
}