aboutsummaryrefslogtreecommitdiff
path: root/src/test/Checkpoints_tests.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-10-27 14:05:59 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-10-28 14:20:59 +0200
commit6c5cd9d022347abed8b61ca4ae4dc101461582fe (patch)
treeccee0f9fbc278d7e0e9522b381f9f1ab456cce05 /src/test/Checkpoints_tests.cpp
parent86f9e3dbba416a142df47dbd646c8e8ba772c955 (diff)
downloadbitcoin-6c5cd9d022347abed8b61ca4ae4dc101461582fe.tar.xz
test: Add format-dependent comparison to bctest
This splits the output comparison for `bitcoin-tx` into two steps: - First, check for data mismatch, parsing the data as json or hex depending on the extension of the output file - Then, check if the literal string matches For either of these cases give a different error. This prevents wild goose chases when e.g. a trailing space doesn't match exactly, and makes sure that both test output and examples are valid data of the purported format.
Diffstat (limited to 'src/test/Checkpoints_tests.cpp')
0 files changed, 0 insertions, 0 deletions