Sha256: e080f7ca11026df2d3cf46f407dcc778921f9f66dcd28b72a6611f211ff1fbe1

Contents?: true

Size: 442 Bytes

Versions: 8

Compression:

Stored size: 442 Bytes

Contents

#import "EXPMatchers+beNil.h"

EXPMatcherImplementationBegin(beNil, (void)) {
  match(^BOOL{
    return actual == nil;
  });

  failureMessageForTo(^NSString *{
    return [NSString stringWithFormat:@"expected: nil/null, got: %@", EXPDescribeObject(actual)];
  });

  failureMessageForNotTo(^NSString *{
    return [NSString stringWithFormat:@"expected: not nil/null, got: %@", EXPDescribeObject(actual)];
  });
}
EXPMatcherImplementationEnd

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
second_curtain-0.6.0 Demo/Pods/Expecta/src/matchers/EXPMatchers+beNil.m
second_curtain-0.5.0 Demo/Pods/Expecta/src/matchers/EXPMatchers+beNil.m
second_curtain-0.4.0 Demo/Pods/Expecta/src/matchers/EXPMatchers+beNil.m
second_curtain-0.3.0 Demo/Pods/Expecta/src/matchers/EXPMatchers+beNil.m
cocoapods-deintegrate-0.2.1 spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beNil.m
cocoapods-deintegrate-0.2.0 spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beNil.m
second_curtain-0.2.4 Demo/Pods/Expecta/src/matchers/EXPMatchers+beNil.m
second_curtain-0.2.3 Demo/Pods/Expecta/src/matchers/EXPMatchers+beNil.m