Open xenoterracide opened 12 years ago
I'd like to have something like
is_accessor_ok $obj, 'method', 'val'; # ok 1 My::Obj->accessor
the value here is not in having to write the message just to check to see that the value is what I expect.
Also it could double as can_ok, meaning it'd first check the can and report a can failure, and not throw an exception on that
can_ok
I'd like to have something like
the value here is not in having to write the message just to check to see that the value is what I expect.
Also it could double as
can_ok
, meaning it'd first check the can and report a can failure, and not throw an exception on that