On Thu, Apr 04, 2002 at 12:01:45PM +0100, Mark Fowler wrote:
Firstly, is there anyway we could get Test::Builder's diag (and thus
Test::More's) diag to return false not true like it currently does.
This would then allow me to write simply
sub is_reversed
{
return $Tester-ok($_[0] eq
Firstly, is there anyway we could get Test::Builder's diag (and thus
Test::More's) diag to return false not true like it currently does.
This would then allow me to write simply
sub is_reversed
{
return $Tester-ok($_[0] eq reverse($_[1]))
or $Tester-diag(The reverse of '$_[0]' is
On Thu, Apr 04, 2002 at 12:01:45PM +0100, Mark Fowler wrote:
Firstly, is there anyway we could get Test::Builder's diag (and thus
Test::More's) diag to return false not true like it currently does.
This would then allow me to write simply
sub is_reversed
{
return $Tester-ok($_[0] eq
On Thu, 4 Apr 2002, Michael G Schwern wrote:
I'd encourage you to write a Test::Builder based module that does more
complete set complex data testing. Either talk to Barrie about
adding it to Test::Differences or start a new module. Test::Set,
Test::Data::Deep, etc...
But but I've