diff --git a/include/internal/catch_list.hpp b/include/internal/catch_list.hpp index a25d50ca..b143356e 100644 --- a/include/internal/catch_list.hpp +++ b/include/internal/catch_list.hpp @@ -22,12 +22,12 @@ namespace Catch { inline std::size_t listTests( Config const& config, const bool includeSources ) { TestSpec testSpec = config.testSpec(); - if( config.testSpec().hasFilters() ) + if( config.testSpec().hasFilters() ) { if( !includeSources ) - Catch::cout() << "Matching test cases:\n"; - else { + Catch::cout() << "Matching test cases:\n"; + } else { if( !includeSources ) - Catch::cout() << "All available test cases:\n"; + Catch::cout() << "All available test cases:\n"; testSpec = TestSpecParser( ITagAliasRegistry::get() ).parse( "*" ).testSpec(); }