Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't expose KWHCMatcher publicly

  • Loading branch information...
commit 3e87c89c27b623e3442234edc12fcd5abd05ecd2 1 parent 65dbba7
Luke Redpath authored
View
3  Kiwi/KWHamcrestMatcher.h
@@ -8,7 +8,8 @@
#import <Foundation/Foundation.h>
#import "KWMatcher.h"
-#import "KWHCMatcher.h"
+
+@protocol HCMatcher;
@interface KWHamcrestMatcher : KWMatcher {
id<HCMatcher> hamcrestMatcher;
View
1  Kiwi/KWHamcrestMatcher.m
@@ -7,6 +7,7 @@
//
#import "KWHamcrestMatcher.h"
+#import "KWHCMatcher.h"
@interface KWHamcrestMatcher ()
View
3  Kiwi/KWHamrestMatchingAdditions.h
@@ -7,7 +7,6 @@
//
#import <Foundation/Foundation.h>
-#import "KWHCMatcher.h"
@interface NSObject (KiwiHamcrestAdditions)
@@ -15,6 +14,8 @@
@end
+@protocol HCMatcher;
+
@interface NSArray (KiwiHamcrestAdditions)
- (BOOL)containsObjectEqualToOrMatching:(id)object;
View
1  Kiwi/KWHamrestMatchingAdditions.m
@@ -7,6 +7,7 @@
//
#import "KWHamrestMatchingAdditions.h"
+#import "KWHCMatcher.h"
@implementation NSObject (KiwiHamcrestAdditions)
View
1  Kiwi/KWHaveValueMatcher.m
@@ -8,6 +8,7 @@
#import "KWHaveValueMatcher.h"
#import "KWHamrestMatchingAdditions.h"
+#import "KWHCMatcher.h"
@interface KWHaveValueMatcher()
Please sign in to comment.
Something went wrong with that request. Please try again.