Skip to content

Commit

Permalink
Add DCAPTURE to disabled macros
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbeard committed Mar 3, 2022
1 parent 891080d commit 58226bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/ExtraTests/X02-DisabledMacros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ foo f;

// This test should not be run, because it won't be registered
TEST_CASE( "Disabled Macros" ) {

CAPTURE( 1 );
CAPTURE( 1, "captured" );

std::cout << "This should not happen\n";
FAIL();
}

0 comments on commit 58226bb

Please sign in to comment.