No such thing as a small change | |
PerlMonks |
Re: Test::More fails...by choroba (Cardinal) |
on May 30, 2023 at 08:20 UTC ( [id://11152502]=note: print w/replies, xml ) | Need Help?? |
If you want to compare that two values are the same, use is, not ok, you'll get nicer diagnostics.
Regarding use_ok, I prefer not to use it at all, or test it in a test of its own. Also note that you can also specify instead of planning.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|