From: Rafael Garcia-Suarez Date: Tue, 15 Apr 2008 13:51:15 +0000 (+0000) Subject: Sync with CPAN's version of the More.t test in Test::Simple X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ea2e58b90178b6e68f45e262267f64a49b928ccc;p=p5sagit%2Fp5-mst-13.2.git Sync with CPAN's version of the More.t test in Test::Simple and delete duplicated test module Dummy.pm. (test now expected to fail) p4raw-id: //depot/perl@33688 --- diff --git a/lib/Test/Simple/t/More.t b/lib/Test/Simple/t/More.t index 8ea1368..b4bac92 100644 --- a/lib/Test/Simple/t/More.t +++ b/lib/Test/Simple/t/More.t @@ -3,7 +3,7 @@ BEGIN { if( $ENV{PERL_CORE} ) { chdir 't'; - @INC = qw(../lib lib); + @INC = '../lib'; } } @@ -17,7 +17,7 @@ $@ = $Err; $! = $Errno; use_ok('Dummy'); -is( $Dummy::VERSION, '5.562', 'use_ok() loads a module' ); +is( $Dummy::VERSION, '0.01', 'use_ok() loads a module' ); require_ok('Test::More'); diff --git a/t/lib/Dummy.pm b/t/lib/Dummy.pm deleted file mode 100644 index 504330f..0000000 --- a/t/lib/Dummy.pm +++ /dev/null @@ -1,4 +0,0 @@ -package Dummy; - -# Attempt to emulate a bug with finding the version in Exporter. -$VERSION = '5.562';