There's a line missing from Test::More::_deep_check(). It results in funny
diagnostics after comparing scalar refs, so
perl -MTest::More=no_plan -e 'is_deeply([(\a) x 5, b], [(\a) x 5, c])'
gives
# Structures begin differing at:
# $got-[0][1][2][3][4][5] = 'b'
#
On Thursday 27 February 2003 20:54, [EMAIL PROTECTED] wrote:
On Thu, Feb 27, 2003 at 05:32:42PM +, Fergal Daly wrote:
I think that although a test that ignores blessed classes could be handy
in some circumstances (ie programming in general), I reckon in the
context of test suites it's
This patch lets Test::More compare circular data structures.
Get the latest version (0.47) of Test::More, apply fixes.patch to fix some
issues, then apply circular.patch. Test with circular.t,
F
--
Do you need someone with lots of Unix sysadmin and/or lots of OO software
development
On Friday 28 February 2003 12:23, Adrian Howard wrote:
Comments:
- I'd prefer is_set rather than is_math_set
So would I but eq_set is already taken by Test::More and I want to name the
is_ and the eq_ functions conistently
- I'd like shallow comparison options as well as deep ones.
I'm writing test a test module and naturally I want to test it. 2 minutes ago
I discovered Test::Builder::Tester but before finding that I spent several
hours inventing a slightly different wheel... twice.
The result is Test::Tester
http://www.fergaldaly.com/computer/Test-Tester/
It's not