Add ARM files
[dh-make-perl] / dev / arm / libtest-simple-perl / libtest-simple-perl-0.80 / t / plan_shouldnt_import.t
diff --git a/dev/arm/libtest-simple-perl/libtest-simple-perl-0.80/t/plan_shouldnt_import.t b/dev/arm/libtest-simple-perl/libtest-simple-perl-0.80/t/plan_shouldnt_import.t
new file mode 100644 (file)
index 0000000..b6eb064
--- /dev/null
@@ -0,0 +1,16 @@
+#!/usr/bin/perl -w
+
+# plan() used to export functions by mistake [rt.cpan.org 8385]
+
+BEGIN {
+    if( $ENV{PERL_CORE} ) {
+        chdir 't';
+        @INC = '../lib';
+    }
+}
+
+
+use Test::More ();
+Test::More::plan(tests => 1);
+
+Test::More::ok( !__PACKAGE__->can('ok'), 'plan should not export' );