[mocha-developer] With Parameter Block

James Mead jamesmead44 at gmail.com
Fri Jun 22 06:33:32 EDT 2007


Hi Zach,

I'm not fixed on the idea of the block check going away. It's great to have
your example usage. You are right that readability is one advantage of the
parameter matcher classes, but another benefit is hopefully more useful
error messages. Maybe the solution is to have a custom matcher which takes a
block. What do you think?

I'll give it some more thought.
-- 
James.
http://blog.floehopper.org


More information about the mocha-developer mailing list