On Fri, 14 Dec 2001 00:35:35 -0500
Michael G Schwern <[EMAIL PROTECTED]> wrote:
> > Well, why not globally overrides Test::More's is, is_deeply etc?
>
> You change the semantics of is() by doing that, potentially causing
> confusion.
Changing the semantics is your responsibility. So it should b
Barrie, you need to declare your prereq on Text::Diff.
On Fri, Dec 14, 2001 at 02:12:29PM +0900, Tatsuhiko Miyagawa wrote:
> Well, why not globally overrides Test::More's is, is_deeply etc?
You change the semantics of is() by doing that, potentially causing
confusion.
$a = [qw(a b c)];
On Thu, 13 Dec 2001 15:56:52 -0500
Barrie Slaymaker <[EMAIL PROTECTED]> wrote:
> Please feel free to test and suggest :).
It rocks.
Well, why not globally overrides Test::More's is, is_deeply etc?
use Test::More;
use Test::Differences qw(:overrides_test_more);
is $got, $excepted, 'is()
Please feel free to test and suggest :).
NAME
Test::Differences - Test strings and data structures and show
differences if not ok
SYNOPSIS
use Test ;## Or use Test::More
use Test::Differences ;
eq_or_diff $got, "a\nb\nc\n", "testing strings" ; # lines numbe