From 0ae7578028fe30135015ace15a97009a547f2d46 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Wed, 4 Mar 2015 19:01:25 +0000 Subject: [PATCH] Restored tag parsing when checking for reserved tags - had been accidentally deleted in an earlier refactoring. A bit worrying that this didn't get spotted sooner! --- include/internal/catch_test_case_info.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_test_case_info.hpp b/include/internal/catch_test_case_info.hpp index 67f32b6e..308ddc74 100644 --- a/include/internal/catch_test_case_info.hpp +++ b/include/internal/catch_test_case_info.hpp @@ -30,7 +30,7 @@ namespace Catch { return TestCaseInfo::None; } inline bool isReservedTag( std::string const& tag ) { - return TestCaseInfo::None && tag.size() > 0 && !isalnum( tag[0] ); + return parseSpecialTag( tag ) == TestCaseInfo::None && tag.size() > 0 && !isalnum( tag[0] ); } inline void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) { if( isReservedTag( tag ) ) {