aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/test/walletload_tests.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-05-31 15:42:40 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-05-31 15:42:40 +0100
commitfade2adb5bb4ce9753e7f25da5fb1521f2f503ec (patch)
tree9f52b4812291e70d80581b48bc3085acbd67b061 /src/wallet/test/walletload_tests.cpp
parentf08bde7f715cf84ef050c3f6902bc75fb90cedb3 (diff)
downloadbitcoin-fade2adb5bb4ce9753e7f25da5fb1521f2f503ec.tar.xz
test: Avoid `BOOST_ASSERT` macro
The `BOOST_ASSERT` macro is defined in the `boost/assert.hpp` header. This change allows to skip `#include <boost/assert.hpp>`.
Diffstat (limited to 'src/wallet/test/walletload_tests.cpp')
-rw-r--r--src/wallet/test/walletload_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/test/walletload_tests.cpp b/src/wallet/test/walletload_tests.cpp
index 6823eafdfa..ab1184556c 100644
--- a/src/wallet/test/walletload_tests.cpp
+++ b/src/wallet/test/walletload_tests.cpp
@@ -169,7 +169,7 @@ BOOST_FIXTURE_TEST_CASE(wallet_load_ckey, TestingSetup)
// Fourth test case:
// Verify that loading up a 'ckey' with an invalid pubkey throws an error
CPubKey invalid_key;
- BOOST_ASSERT(!invalid_key.IsValid());
+ BOOST_CHECK(!invalid_key.IsValid());
SerializeData key = MakeSerializeData(DBKeys::CRYPTED_KEY, invalid_key);
records[key] = ckey_record_value;