Test::More diagostics problem

2003-02-27 Thread Fergal Daly
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' #

Re: Test::More::is_deeply problems with blessings and stringified refs

2003-02-27 Thread Fergal Daly
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

[PATCH] circular data structures in Test::More

2003-03-03 Thread Fergal Daly
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

Re: Test::Set

2003-02-28 Thread Fergal Daly
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.

Meta testing

2003-03-02 Thread Fergal Daly
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