diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-05-31 15:42:40 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-05-31 15:42:40 +0100 |
commit | fade2adb5bb4ce9753e7f25da5fb1521f2f503ec (patch) | |
tree | 9f52b4812291e70d80581b48bc3085acbd67b061 /src/wallet/test/walletdb_tests.cpp | |
parent | f08bde7f715cf84ef050c3f6902bc75fb90cedb3 (diff) | |
download | bitcoin-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/walletdb_tests.cpp')
-rw-r--r-- | src/wallet/test/walletdb_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/test/walletdb_tests.cpp b/src/wallet/test/walletdb_tests.cpp index 00b2f47e14..17b6c4f7ed 100644 --- a/src/wallet/test/walletdb_tests.cpp +++ b/src/wallet/test/walletdb_tests.cpp @@ -39,7 +39,7 @@ BOOST_AUTO_TEST_CASE(walletdb_read_write_deadlock) DatabaseStatus status; bilingual_str error_string; std::unique_ptr<WalletDatabase> db = MakeDatabase(m_path_root / strprintf("wallet_%d_.dat", db_format).c_str(), options, status, error_string); - BOOST_ASSERT(status == DatabaseStatus::SUCCESS); + BOOST_CHECK_EQUAL(status, DatabaseStatus::SUCCESS); std::shared_ptr<CWallet> wallet(new CWallet(m_node.chain.get(), "", std::move(db))); wallet->m_keypool_size = 4; |