mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
Changed shorthand for exclude: to ~
This commit is contained in:
parent
e571e6f4a0
commit
f82861fb0a
@ -134,8 +134,8 @@ namespace Catch {
|
|||||||
std::cout << "[" << cmd[i] << "]" << std::endl;
|
std::cout << "[" << cmd[i] << "]" << std::endl;
|
||||||
if( startsWith( cmd[i], "exclude:" ) )
|
if( startsWith( cmd[i], "exclude:" ) )
|
||||||
filters.addFilter( TestCaseFilter( cmd[i].substr( 8 ), IfFilterMatches::ExcludeTests ) );
|
filters.addFilter( TestCaseFilter( cmd[i].substr( 8 ), IfFilterMatches::ExcludeTests ) );
|
||||||
else if( startsWith( cmd[i], "ex:" ) )
|
else if( startsWith( cmd[i], "~" ) )
|
||||||
filters.addFilter( TestCaseFilter( cmd[i].substr( 3 ), IfFilterMatches::ExcludeTests ) );
|
filters.addFilter( TestCaseFilter( cmd[i].substr( 1 ), IfFilterMatches::ExcludeTests ) );
|
||||||
else
|
else
|
||||||
filters.addFilter( TestCaseFilter( cmd[i] ) );
|
filters.addFilter( TestCaseFilter( cmd[i] ) );
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Generated: 2012-08-24 18:54:08.754777
|
* Generated: 2012-08-24 18:57:26.838444
|
||||||
* ----------------------------------------------------------
|
* ----------------------------------------------------------
|
||||||
* This file has been merged from multiple headers. Please don't edit it directly
|
* This file has been merged from multiple headers. Please don't edit it directly
|
||||||
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
|
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
|
||||||
@ -2597,8 +2597,8 @@ namespace Catch {
|
|||||||
std::cout << "[" << cmd[i] << "]" << std::endl;
|
std::cout << "[" << cmd[i] << "]" << std::endl;
|
||||||
if( startsWith( cmd[i], "exclude:" ) )
|
if( startsWith( cmd[i], "exclude:" ) )
|
||||||
filters.addFilter( TestCaseFilter( cmd[i].substr( 8 ), IfFilterMatches::ExcludeTests ) );
|
filters.addFilter( TestCaseFilter( cmd[i].substr( 8 ), IfFilterMatches::ExcludeTests ) );
|
||||||
else if( startsWith( cmd[i], "ex:" ) )
|
else if( startsWith( cmd[i], "~" ) )
|
||||||
filters.addFilter( TestCaseFilter( cmd[i].substr( 3 ), IfFilterMatches::ExcludeTests ) );
|
filters.addFilter( TestCaseFilter( cmd[i].substr( 1 ), IfFilterMatches::ExcludeTests ) );
|
||||||
else
|
else
|
||||||
filters.addFilter( TestCaseFilter( cmd[i] ) );
|
filters.addFilter( TestCaseFilter( cmd[i] ) );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user