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