mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-02 21:35:40 +02:00
Fix matching of non-lowercase filename tags
The bug was caused by forgetting to lower-case the filename tag for matching against test spec. Fixes #2064
This commit is contained in:
@@ -190,6 +190,9 @@ namespace Catch {
|
||||
std::string combined("#");
|
||||
combined += extractFilenamePart(lineInfo.file);
|
||||
internalAppendTag(combined);
|
||||
// TBD: Running this over all tags again is inefficient, but
|
||||
// simple enough. In practice, the overhead is small enough.
|
||||
toLowerInPlace(backingLCaseTags);
|
||||
}
|
||||
|
||||
std::string TestCaseInfo::tagsAsString() const {
|
||||
|
Reference in New Issue
Block a user