mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-29 07:59:25 +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
|
@ -320,6 +320,8 @@ struct TestOpt2 {
|
|||
std::string description;
|
||||
};
|
||||
|
||||
#ifdef CATCH_CONFIG_VARIADIC_MACROS
|
||||
|
||||
TEST_CASE( "cmdline", "" ) {
|
||||
|
||||
TestOpt config;
|
||||
|
@ -525,3 +527,5 @@ TEST_CASE( "growing new Catch cli" ) {
|
|||
|
||||
std::cout << parser << std::endl;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue