We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fd73c8 commit 0aef39dCopy full SHA for 0aef39d
src/test/blockencodings_tests.cpp
@@ -386,6 +386,7 @@ BOOST_AUTO_TEST_CASE(TransactionsRequestDeserializationOverflowTest) {
386
BOOST_CHECK(0);
387
} catch(std::ios_base::failure &) {
388
// deserialize should fail
389
+ BOOST_CHECK(true); // Needed to suppress "Test case [...] did not check any assertions"
390
}
391
392
src/test/util_tests.cpp
@@ -36,8 +36,10 @@ BOOST_AUTO_TEST_CASE(util_criticalsection)
36
37
do {
38
TRY_LOCK(cs, lockTest);
39
- if (lockTest)
+ if (lockTest) {
40
41
break;
42
+ }
43
44
BOOST_ERROR("break was swallowed!");
45
} while(0);
0 commit comments