Fix: CAPTURE not variadic when disabled (#2378)

Closes: #2316
This commit is contained in:
John Beard
2022-03-04 15:29:22 +01:00
committed by GitHub
parent 958944d27a
commit ff151d2833
3 changed files with 6 additions and 1 deletions
@@ -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();
}