Skip to content

Instantly share code, notes, and snippets.

@jm
Created January 25, 2009 19:28
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
// Rather than:
STAssertEquals(32, [centigradeFreezingPoint intValue],
@"Centigrade freezing point should be 32, but was %d instead!",
[centigradeFreezingPoint intValue]);
// It's now...
[[centigradeFreezingPoint intValue] shouldEqual:32];
// or even...
[[[centigradeFreezingPoint intValue] should] equal:32];
// i'm going to be forwarding methods later so you can do things like rspec's dynamic matchers (hopefully)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment