mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 22:19:25 +00:00
Fix case sensitivity when matching tags
(now insensitive again) Also group case-different tags together when listing
This commit is contained in:
parent
e21d0b29cc
commit
fbf3f6f879
4 changed files with 46 additions and 21 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue