| 4071 | StartsWith( NSString* substr ) : StringHolder( substr ){} |
| 4072 | |
| 4073 | bool match( NSString* str ) const override { |
| 4074 | return (str != nil || m_substr == nil ) && |
| 4075 | [str rangeOfString:m_substr].location == 0; |
| 4076 | } |
| 4077 | |
| 4078 | std::string describe() const override { |
| 4079 | return "starts with: " + Catch::Detail::stringify( m_substr ); |
nothing calls this directly
no outgoing calls
no test coverage detected