Remove <set> include from the common test path
This commit is contained in:
1 parent
446bad752f
commit
287cc92b2c
8 files changed
+54
-30
No files matched your search
@@ -78,7 +78,7 @@ namespace Catch {
|
||||
void applyFilenamesAsTags( IConfig const& config ) {
|
||||
auto& tests = const_cast<std::vector<TestCase>&>( getAllTestCasesSorted( config ) );
|
||||
for( auto& testCase : tests ) {
|
||||
std::set<std::string> tags = testCase.tags;
|
||||
auto tags = testCase.tags;
|
||||
|
||||
std::string filename = testCase.lineInfo.file;
|
||||
std::string::size_type lastSlash = filename.find_last_of( "\\/" );
|
||||
@@ -89,7 +89,7 @@ namespace Catch {
|
||||
if( lastDot != std::string::npos )
|
||||
filename = filename.substr( 0, lastDot );
|
||||
|
||||
tags.insert( "#" + filename );
|
||||
tags.push_back( "#" + filename );
|
||||
setTags( testCase, tags );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user