mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 23:36:11 +01:00
Normalised “hidden” tags
This commit is contained in:
parent
3524321295
commit
47a5ad3038
@ -28,6 +28,10 @@ namespace Catch {
|
|||||||
if( tags.find( "hide" ) != tags.end() || tags.find( "." ) != tags.end() )
|
if( tags.find( "hide" ) != tags.end() || tags.find( "." ) != tags.end() )
|
||||||
isHidden = true;
|
isHidden = true;
|
||||||
|
|
||||||
|
if( isHidden ) {
|
||||||
|
tags.insert( "hide" );
|
||||||
|
tags.insert( "." );
|
||||||
|
}
|
||||||
TestCaseInfo info( _name, _className, desc, tags, isHidden, _lineInfo );
|
TestCaseInfo info( _name, _className, desc, tags, isHidden, _lineInfo );
|
||||||
return TestCase( _testCase, info );
|
return TestCase( _testCase, info );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user