Permalink
Branch: master
Commits on Feb 9, 2019
  1. Catch: resolve inconsistency in CATCH_REQUIRE_THROWS

    suspend0 authored and JoeyGrajciar committed Feb 8, 2019
    The REQUIRE_THROWS and CATCH_REQUIRE_THROWS macros have
    a subtle inconsistency in their implementation which can
    cause a warning if [-Wunused-value] is used.
    
    This commit changes CATCH_REQUIRE_THROWS so it has the
    same implementation as REQUIRE_THROWS
    
    It looks like REQUIRE_THROWS was change in commit
    fae0fa4 but not CATCH_REQUIRE_THROWS.
    
    Similar changes for CATCH_CHECK_THROWS