projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Test::Simple/More/Builder/Tutorial 0.41
[p5sagit/p5-mst-13.2.git]
/
lib
/
Test
/
Simple
/
t
/
import.t
diff --git
a/lib/Test/Simple/t/import.t
b/lib/Test/Simple/t/import.t
index
bf0b5a9
..
68a3613
100644
(file)
--- a/
lib/Test/Simple/t/import.t
+++ b/
lib/Test/Simple/t/import.t
@@
-1,8
+1,11
@@
BEGIN {
- chdir 't' if -d 't';
- @INC = '../lib';
+ if( $ENV{PERL_CORE} ) {
+ chdir 't';
+ @INC = '../lib';
+ }
}
+
use Test::More tests => 2, import => [qw(!fail)];
can_ok(__PACKAGE__, qw(ok pass like isa_ok));