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