Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: move HasReason so it can be reused
Summary: ``` Move the class `HasReason` from `miner_tests.cpp` to `setup_common.h` so that it can be reused by other tests. ``` Partial backport (2/4) of core [[bitcoin/bitcoin#19485 | PR19485]]: bitcoin/bitcoin@fe42411 Depends on D9186. Test Plan: ninja check-bitcoin-miner_tests Reviewers: #bitcoin_abc, majcosta Reviewed By: #bitcoin_abc, majcosta Differential Revision: https://reviews.bitcoinabc.org/D9187
- Loading branch information
Showing
2 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters