mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-27 15:09:33 +00:00
handle TEST_CASE_METHOD macro consistently
- internally define INTERNAL_CATCH_TEST_CASE_METHOD
This commit is contained in:
parent
0c5626962a
commit
597ed1f79d
5 changed files with 19 additions and 3 deletions
|
@ -8,6 +8,8 @@
|
|||
|
||||
#include "catch.hpp"
|
||||
|
||||
#ifdef CATCH_CONFIG_VARIADIC_MACROS
|
||||
|
||||
TEST_CASE()
|
||||
{
|
||||
SUCCEED( "anonymous test case" );
|
||||
|
@ -25,3 +27,5 @@ TEST_CASE( "Variadic macros", "[variadic][sections]" )
|
|||
SUCCEED( "no assertions" );
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue