in reply to The wonders of Test::More
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: The wonders of Test::More
by syphilis (Archbishop) on May 22, 2022 at 01:28 UTC | |
by haukex (Archbishop) on May 22, 2022 at 04:45 UTC |