Re: Test::Builder and Test::More change requests

2002-04-04 Thread Michael G Schwern
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

Test::Builder and Test::More change requests

2002-04-04 Thread Mark Fowler
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

Re: Test::Builder and Test::More change requests

2002-04-04 Thread Michael G Schwern
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

Re: Test::Builder and Test::More change requests

2002-04-04 Thread Mark Fowler
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