diff options
author | merge-script <fanquake@gmail.com> | 2024-09-27 10:56:57 +0100 |
---|---|---|
committer | merge-script <fanquake@gmail.com> | 2024-09-27 10:56:57 +0100 |
commit | 18d4c43cab4a043358de4effa80a6adfc639c620 (patch) | |
tree | 2b9bcf90d96ba949f91b5d015c303b5bcb6c99a4 /src/qt/locale/bitcoin_ja.ts | |
parent | d7fcc91416a5a0eacf0af5236dfa56a9f1e81b0d (diff) | |
parent | 6c3c619b35cc03e883f9d2b3326f906aedde9ba7 (diff) | |
download | bitcoin-18d4c43cab4a043358de4effa80a6adfc639c620.tar.xz |
Merge bitcoin/bitcoin#30921: test: generalize HasReason and use it in FailFmtWithError
6c3c619b35cc03e883f9d2b3326f906aedde9ba7 test: generalize HasReason and use it in FailFmtWithError (LÅ‘rinc)
Pull request description:
Standardized boost exception checking in recent tests introduced in https://github.com/bitcoin/bitcoin/pull/30546#discussion_r1756493521 by extending `HasReason` to accept `const char*` through `string_view` in `operator()`.
Note that `HasReason` only checks partial matches - but since we're specifying the whole error string, it doesn't affect us in this case.
ACKs for top commit:
maflcko:
review ACK 6c3c619b35cc03e883f9d2b3326f906aedde9ba7
hodlinator:
ACK 6c3c619b35cc03e883f9d2b3326f906aedde9ba7
Tree-SHA512: 740fb18b8fea78e4eb9740ceb0fe75d37246c28cfa2638b9d093e9514dd6d7926cc5be9ec57f8027cca3aa9d616e8c54322d2401cfa67fd25282f7816e63532d
Diffstat (limited to 'src/qt/locale/bitcoin_ja.ts')
0 files changed, 0 insertions, 0 deletions