Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.488 kb
//
// KWStringContainsMatcher.h
// Kiwi
//
// Created by Stewart Gleadow on 7/06/12.
// Copyright (c) 2012 Allen Ding. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "KWHCMatcher.h"
@interface KWStringContainsMatcher : NSObject <HCMatcher> {
NSString *substring;
}
+ (id)matcherWithSubstring:(NSString *)aSubstring;
- (id)initWithSubstring:(NSString *)aSubstring;
@end
#define hasSubstring(substring) [KWStringContainsMatcher matcherWithSubstring:substring]
Jump to Line
Something went wrong with that request. Please try again.