HomePhabricator

[tests] allow BOOST_CHECK_EQUAL for ScriptErrors

Description

[tests] allow BOOST_CHECK_EQUAL for ScriptErrors

Summary:
as per title -- BOOST_*_EQUAL needs operator<< to be defined for
the type so it can print something like "A != B".

Test Plan: ninja check

Reviewers: #bitcoin_abc, deadalnix, Fabien

Reviewed By: #bitcoin_abc, deadalnix, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D4798

Details

Provenance
Mark Lundeberg <markblundeberg@users.noreply.github.com>Authored on Dec 23 2019, 02:18
markblundebergPushed on Dec 30 2019, 02:31
Reviewer
Restricted Project
Differential Revision
D4798: [tests] allow BOOST_CHECK_EQUAL for ScriptErrors
Parents
rABCd8745997e675: [CMAKE] Separate the target for running the unit tests with upgrade
Branches
Unknown
Tags
Unknown

Event Timeline

Mark Lundeberg <markblundeberg@users.noreply.github.com> committed rABCa194dedba3c1: [tests] allow BOOST_CHECK_EQUAL for ScriptErrors (authored by Mark Lundeberg <markblundeberg@users.noreply.github.com>).Dec 30 2019, 02:31