test: Change BOOST_CHECK to BOOST_CHECK_EQUAL for paths #21125

pull kiminuo wants to merge 1 commits into bitcoin:master from kiminuo:feature/boost-equal changing 2 files +8 −8
  1. kiminuo commented at 2:05 PM on February 9, 2021: contributor

    This is useful to see mismatched values when a check fails as specified in the Boost documentation.

    This PR would make #20744 PR's diff smaller by a bit.

  2. Change BOOST_CHECK to BOOST_CHECK_EQUAL to see mismatched values when a check fails.
    See https://www.boost.org/doc/libs/1_71_0/libs/test/doc/html/boost_test/utf_reference/testing_tool_ref/assertion_boost_level_eq.html
    059e8ccc1e
  3. kiminuo renamed this:
    test: Change BOOST_CHECK to BOOST_CHECK_EQUAL
    test: Change BOOST_CHECK to BOOST_CHECK_EQUAL for paths
    on Feb 9, 2021
  4. MarcoFalke commented at 2:08 PM on February 9, 2021: member

    review ACK 059e8ccc1eba6cd92f4c434325cb56b0533eb744

  5. fanquake added the label Tests on Feb 9, 2021
  6. theStack approved
  7. theStack commented at 5:25 PM on February 9, 2021: member

    Code Review ACK 059e8ccc1eba6cd92f4c434325cb56b0533eb744

    Note that this is just the tip of the iceberg, there are hundreds of other instances where the same replacement could be done:

    $ git grep "BOOST_CHECK(.*==.*)" | wc -l
    917
    

    (of course, this also includes some false-positives)

  8. MarcoFalke merged this on Feb 10, 2021
  9. MarcoFalke closed this on Feb 10, 2021

  10. kiminuo deleted the branch on Feb 10, 2021
  11. sidhujag referenced this in commit 05c420bf56 on Feb 11, 2021
  12. PastaPastaPasta referenced this in commit 60b7b932e2 on Nov 1, 2021
  13. PastaPastaPasta referenced this in commit 0627ea1d4c on Nov 1, 2021
  14. PastaPastaPasta referenced this in commit 2d30d33811 on Nov 3, 2021
  15. pravblockc referenced this in commit 2da267b8c3 on Nov 18, 2021
  16. DrahtBot locked this on Aug 18, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-27 03:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me