mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 14:09:26 +00:00
refactored toLower
This commit is contained in:
parent
f4254b8622
commit
6ba2057abd
5 changed files with 13 additions and 12 deletions
|
@ -11,6 +11,7 @@
|
|||
#include "catch_tags.hpp"
|
||||
#include "catch_test_case_info.h"
|
||||
#include "catch_interfaces_testcase.h"
|
||||
#include "catch_common.h"
|
||||
|
||||
namespace Catch {
|
||||
|
||||
|
@ -76,7 +77,7 @@ namespace Catch {
|
|||
}
|
||||
|
||||
bool TestCase::hasTag( const std::string& tag ) const {
|
||||
return tags.find( tag ) != tags.end();
|
||||
return tags.find( toLower( tag ) ) != tags.end();
|
||||
}
|
||||
bool TestCase::matchesTags( const std::string& tagPattern ) const {
|
||||
TagExpression exp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue