Subject: | bug when comparing numerical hash values [again] |
Date: | Wed, 30 Apr 2014 16:44:36 +0400 |
To: | bug-Test-Differences [...] rt.cpan.org |
From: | nyaapa <nyaapa [...] gmail.com> |
nyaapa@nyaapa:~$ perl -e 'use Test::More; use
Test::Differences qw(eq_or_diff); diag $Test::Differences::VERSION;
eq_or_diff { a => { a => 1 }}, { a=> { a => "1"}}, "abc"'
# 0.61
not ok 1 - abc
# Failed test 'abc'
# at -e line 1.
# +----+------------+--------------+
# | Elt|Got |Expected |
# +----+------------+--------------+
# | 0|{ |{ |
# | 1| a => { | a => { |
# * 2| a => 1 | a => '1' *
# | 3| } | } |
# | 4|} |} |
# +----+------------+--------------+
# Tests were run but no plan was declared and done_testing() was not seen.
nyaapa@nyaapa:~$ perl -e 'use Test::More; use
Test::Differences qw(eq_or_diff); diag $Test::Differences::VERSION;
eq_or_diff { a => 1 }, { a=> "1"}, "abc"'
# 0.61
ok 1 - abc
# Tests were run but no plan was declared and done_testing() was not seen.
--
Kindest Regards,
Arseny Krasikov