This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Corify the Filter::Simple tests.
[perl5.git]
/
lib
/
Filter
/
Simple
/
t
/
data.t
diff --git
a/lib/Filter/Simple/t/data.t
b/lib/Filter/Simple/t/data.t
index
4618e36
..
8307f04
100644
(file)
--- a/
lib/Filter/Simple/t/data.t
+++ b/
lib/Filter/Simple/t/data.t
@@
-1,3
+1,10
@@
+BEGIN {
+ if ($ENV{PERL_CORE}) {
+ chdir('t') if -d 't';
+ @INC = qw(lib ../lib);
+ }
+}
+
use FilterOnlyTest qr/ok/ => "not ok", "bad" => "ok";
print "1..6\n";