aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-04-30 18:55:06 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-05-03 11:50:29 +0200
commit000098f9647cd2e21660603b7d7a8f623f70f673 (patch)
treedea0a37963ef709c3f2b1609bee9097a6619f59c /src/bench
parentfa2197c8b3178787d99e2acb5c3c717df14ddabf (diff)
downloadbitcoin-000098f9647cd2e21660603b7d7a8f623f70f673.tar.xz
test: Use throwing variant accessor
It does not matter if the tests fail due to a BOOST_CHECK failure or due to a thrown exception. Prefer the exception because it is less code. Example fail with the throwing accessor: unknown location(0): fatal error: in "script_standard_tests/script_standard_ExtractDestinations": std::bad_variant_access: std::get: wrong index for variant test/script_standard_tests.cpp(314): last checkpoint *** 1 failure is detected in the test module "Bitcoin Core Test Suite"
Diffstat (limited to 'src/bench')
0 files changed, 0 insertions, 0 deletions