Removed 1 line of verbosity from --list-tests-and-sources

This commit is contained in:
Cyberboss 2016-06-15 12:16:16 -04:00
parent 590061d37f
commit cac0f4775e

View File

@ -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;
}