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
/
no_ending.t
diff --git
a/lib/Test/Simple/t/no_ending.t
b/lib/Test/Simple/t/no_ending.t
index
c8bd396
..
97e968e
100644
(file)
--- a/
lib/Test/Simple/t/no_ending.t
+++ b/
lib/Test/Simple/t/no_ending.t
@@
-1,10
+1,12
@@
+use Test::Builder;
+
BEGIN {
- chdir 't' if -d 't';
- @INC = '../lib';
+ if( $ENV{PERL_CORE} ) {
+ chdir 't';
+ @INC = '../lib';
+ }
}
-use Test::Builder;
-
BEGIN {
my $t = Test::Builder->new;
$t->no_ending(1);