Sha256: a9f989bd8f9443629f54ca96c5f004171d5fe2aab63f6e3b839240eaeace1075
Contents?: true
Size: 722 Bytes
Versions: 8
Compression:
Stored size: 722 Bytes
Contents
#import "EXPMatchers+beGreaterThan.h" #import "EXPMatcherHelpers.h" EXPMatcherImplementationBegin(_beGreaterThan, (id expected)) { match(^BOOL{ if ([actual respondsToSelector:@selector(compare:)]) { return [actual compare:expected] == NSOrderedDescending; } return NO; }); failureMessageForTo(^NSString *{ return [NSString stringWithFormat:@"expected: %@ to be greater than %@", EXPDescribeObject(actual), EXPDescribeObject(expected)]; }); failureMessageForNotTo(^NSString *{ return [NSString stringWithFormat:@"expected: %@ not to be greater than %@", EXPDescribeObject(actual), EXPDescribeObject(expected)]; }); } EXPMatcherImplementationEnd
Version data entries
8 entries across 8 versions & 2 rubygems