projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
847ded7
)
Make next_edgecases.t easier to deal with
author
Father Chrysostomos
<sprout@cpan.org>
Wed, 1 Dec 2010 06:31:41 +0000
(22:31 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Wed, 1 Dec 2010 13:20:42 +0000
(
05:20
-0800)
This makes ./perl -Ilib t/mro/next_edgecases.t work and also
allows test functions to be called without parentheses.
t/mro/next_edgecases.t
patch
|
blob
|
history
diff --git
a/t/mro/next_edgecases.t
b/t/mro/next_edgecases.t
index
ff3272d
..
c0da963
100644
(file)
--- a/
t/mro/next_edgecases.t
+++ b/
t/mro/next_edgecases.t
@@
-3,7
+3,9
@@
use strict;
use warnings;
-require q(./test.pl); plan(tests => 12);
+BEGIN { chdir 't'; require q(./test.pl); @INC = qw "../lib lib" }
+
+plan(tests => 12);
{