Skip to content

Commit 74b7f82

Browse files
committed
Add REQUIRE_NO_THROW_TRUE() test macro.
1 parent 1e864a7 commit 74b7f82

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test/test.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
#include <filesystem>
2525
#include <bitcoin/server.hpp>
2626

27+
#define REQUIRE_NO_THROW_AND_TRUE(expression) \
28+
BOOST_REQUIRE_NO_THROW(expression); \
29+
BOOST_REQUIRE(expression)
30+
2731
#define TEST_NAME \
2832
boost::unit_test::framework::current_test_case().p_name.get()
2933
#define SUITE_NAME \

0 commit comments

Comments
 (0)