mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 14:09:26 +00:00
Changed shorthand for exclude: to ~
This commit is contained in:
parent
e571e6f4a0
commit
f82861fb0a
2 changed files with 5 additions and 5 deletions
|
@ -134,8 +134,8 @@ namespace Catch {
|
|||
std::cout << "[" << cmd[i] << "]" << std::endl;
|
||||
if( startsWith( cmd[i], "exclude:" ) )
|
||||
filters.addFilter( TestCaseFilter( cmd[i].substr( 8 ), IfFilterMatches::ExcludeTests ) );
|
||||
else if( startsWith( cmd[i], "ex:" ) )
|
||||
filters.addFilter( TestCaseFilter( cmd[i].substr( 3 ), IfFilterMatches::ExcludeTests ) );
|
||||
else if( startsWith( cmd[i], "~" ) )
|
||||
filters.addFilter( TestCaseFilter( cmd[i].substr( 1 ), IfFilterMatches::ExcludeTests ) );
|
||||
else
|
||||
filters.addFilter( TestCaseFilter( cmd[i] ) );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue