diff options
author | 2017-02-05 15:45:26 +0100 | |
---|---|---|
committer | 2017-02-05 15:46:07 +0100 | |
commit | 02c97cd0f7c4d630f1a90f9f2626746e47a28c09 (patch) | |
tree | 2b48d051a55f2b65525824546cd9fcf9e05907cf /3rdparty/catch/include/internal/catch_wildcard_pattern.hpp | |
parent | d20b4ba6864b45d0c068d98d43e63c8bc5014a3b (diff) |
Updated Catch to latest (nw)
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 ); } |