From: Fergal Daly Date: Tue, 9 Sep 2003 18:26:20 +0000 (+0100) Subject: Re: maint @ 21116 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6b8d7eb7ef899ca6bb58fe9b4e4f44a3ca4c8365;p=p5sagit%2Fp5-mst-13.2.git Re: maint @ 21116 Message-Id: <200309091826.20630.fergal@esatclear.ie> (added warning) p4raw-id: //depot/perl@21149 --- diff --git a/lib/Test/More.pm b/lib/Test/More.pm index d82f81d..79f58c9 100644 --- a/lib/Test/More.pm +++ b/lib/Test/More.pm @@ -927,7 +927,16 @@ will display the place where they start differing. Barrie Slaymaker's Test::Differences module provides more in-depth functionality along these lines, and it plays well with Test::More. -B Display of scalar refs is not quite 100% +B is_deeply cannot tell the difference between $ref and "$ref", it +also cannot tell the difference between {} and {some_key =E []}, it +cannot tell the difference between a scalar string and an object which uses +overloading to stringify to the same value. + +is_deeply will go into an infinite loop if passed a circular data structure. + +The above also apply to eq_array and eq_hash. + +Display of scalar refs is not quite 100% =cut