mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
any tag prefixed with . hides the test
This commit is contained in:
parent
30888f59bf
commit
6725e09003
@ -16,7 +16,7 @@
|
||||
namespace Catch {
|
||||
|
||||
inline TestCaseInfo::SpecialProperties parseSpecialTag( std::string const& tag ) {
|
||||
if( tag == "." ||
|
||||
if( startsWith( tag, "." ) ||
|
||||
tag == "hide" ||
|
||||
tag == "!hide" )
|
||||
return TestCaseInfo::IsHidden;
|
||||
|
Loading…
Reference in New Issue
Block a user