diff options
Diffstat (limited to '3rdparty/catch/include/internal/catch_wildcard_pattern.hpp')
-rw-r--r-- | 3rdparty/catch/include/internal/catch_wildcard_pattern.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/catch/include/internal/catch_wildcard_pattern.hpp b/3rdparty/catch/include/internal/catch_wildcard_pattern.hpp index cd8b07e1921..6ce66a4d189 100644 --- a/3rdparty/catch/include/internal/catch_wildcard_pattern.hpp +++ b/3rdparty/catch/include/internal/catch_wildcard_pattern.hpp @@ -27,11 +27,11 @@ namespace Catch m_wildcard( NoWildcard ), m_pattern( adjustCase( pattern ) ) { - if( startsWith( m_pattern, "*" ) ) { + if( startsWith( m_pattern, '*' ) ) { m_pattern = m_pattern.substr( 1 ); m_wildcard = WildcardAtStart; } - if( endsWith( m_pattern, "*" ) ) { + if( endsWith( m_pattern, '*' ) ) { m_pattern = m_pattern.substr( 0, m_pattern.size()-1 ); m_wildcard = static_cast<WildcardPosition>( m_wildcard | WildcardAtEnd ); } |