Skip to content

Commit

Permalink
Add variadic test for CAPTURE
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbeard committed Mar 3, 2022
1 parent 5e94498 commit 891080d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/ExtraTests/X01-PrefixedMacros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ CATCH_TEST_CASE("PrefixedMacros") {
CATCH_SECTION("some section") {
int i = 1;
CATCH_CAPTURE( i );
CATCH_CAPTURE( i, i + 1 );
CATCH_DYNAMIC_SECTION("Dynamic section: " << i) {
CATCH_FAIL_CHECK( "failure" );
}
Expand Down

0 comments on commit 891080d

Please sign in to comment.