From 52e415805f6b21e7e99ee6045d3ae6c292295a02 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Mon, 13 Jun 2016 10:27:52 -0400 Subject: [PATCH] Fixed a dangling else issue --- include/internal/catch_list.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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(); }