This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Corify the Filter::Simple tests.
[perl5.git] / lib / Filter / Simple / t / data.t
index 4618e36..8307f04 100644 (file)
@@ -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";