mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-24 05:25:40 +02:00
Removed 1 line of verbosity from --list-tests-and-sources
This commit is contained in:
@@ -53,11 +53,12 @@ namespace Catch {
|
||||
if( includeSources )
|
||||
Catch::cout() << testCaseInfo.lineInfo << std::endl;
|
||||
}
|
||||
|
||||
if( !config.testSpec().hasFilters() )
|
||||
Catch::cout() << pluralise( matchedTests, "test case" ) << "\n" << std::endl;
|
||||
else
|
||||
Catch::cout() << pluralise( matchedTests, "matching test case" ) << "\n" << std::endl;
|
||||
if ( !includeSources ) {
|
||||
if( !config.testSpec().hasFilters() )
|
||||
Catch::cout() << pluralise( matchedTests, "test case" ) << "\n" << std::endl;
|
||||
else
|
||||
Catch::cout() << pluralise( matchedTests, "matching test case" ) << "\n" << std::endl;
|
||||
}
|
||||
return matchedTests;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user