I'm interested to hear thoughts on what is the "correct" way to deal with this issue.
Though probably the most boring way of dealing with the issue, personally I would probably tend to simply use an ok test for a case like this... they way I see it, all the other Test::More functions are just sugar for ok.
use warnings; use strict; use Test::More; my $exp = "two"; my $got = "Two"; ok $exp eq $got or diag explain [$exp, $got]; done_testing;
In reply to Re: The wonders of Test::More
by haukex
in thread The wonders of Test::More
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |