Skip to content

Instantly share code, notes, and snippets.

@jm
Created January 26, 2009 20:18
Show Gist options
  • Save jm/52952 to your computer and use it in GitHub Desktop.
Save jm/52952 to your computer and use it in GitHub Desktop.
// Objects
[thing shouldEqual:thing];
// Primitive values
[expect(YES) shouldEqual:YES];
// Working on more matchers...
[expect([@"hello" isEqual:@"hello"]) shouldBeTrue];
// I think I might also add these methods so it reads better...
[expect(YES) toEqual:YES];
[expect(YES) toBeTrue];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment