There's more than one way to do things | |
PerlMonks |
Re: Unit test failing but "got" and "expected" are equalby Corion (Patriarch) |
on Jan 04, 2019 at 20:09 UTC ( [id://1228045]=note: print w/replies, xml ) | Need Help?? |
Most likely you're getting tripped up by (weirdo?) whitespace or other stuff that renders identical in the terminal. To better diagnose that, I would dump the output on failure in a way that makes the differences spottable:
In Section
Seekers of Perl Wisdom
|
|