Adrian Howard wrote:
which isn't _too_ shabby, but doesn't help much with things like:

    ok_if { Foo->new->answer == 42 };

or

    ok_if { $Some_dynamic_var == 42 };

So I don't really think it's worth pursuing.

Well, if we follow the logic of the assert2 author, you're just being SLOPPY using methods with side effects in a test. All tests should be functional doncha know?


--
29. The Irish MPs are not after “Me frosted lucky charms”.
    -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
           http://skippyslist.com/list/

Reply via email to