Fix case sensitivity when matching tags
(now insensitive again) Also group case-different tags together when listing
This commit is contained in:
1 parent
e21d0b29cc
commit
fbf3f6f879
4 files changed
+46
-21
No files matched your search
@@ -75,7 +75,7 @@ namespace Catch {
|
||||
TagPattern( std::string const& tag ) : m_tag( toLower( tag ) ) {}
|
||||
virtual ~TagPattern();
|
||||
virtual bool matches( TestCaseInfo const& testCase ) const {
|
||||
return testCase.tags.find( m_tag ) != testCase.tags.end();
|
||||
return testCase.lcaseTags.find( m_tag ) != testCase.lcaseTags.end();
|
||||
}
|
||||
private:
|
||||
std::string m_tag;
|
||||
|
||||
Reference in new issue
Block a user