June 22, 2011
8:25 a.m.
On Tue, Jun 21, 2011 at 9:51 PM, Lukas Renggli <renggli@gmail.com> wrote:
Why don't you just use #assert: and #=?
This is much shorter and the description string is not really worth the troubles, isn't it :-)
When the test fails, you can debug more easily with #assert:equals:. If you use #assert: and #= you know that the boolean passed to #assert: is false, not really useful. If you use #assert:equals: you have the two objects and you can compare them. -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry