summaryrefslogtreecommitdiff
path: root/cpan/Test-Simple/t/import.t
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Test-Simple/t/import.t')
-rw-r--r--cpan/Test-Simple/t/import.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/cpan/Test-Simple/t/import.t b/cpan/Test-Simple/t/import.t
new file mode 100644
index 0000000000..68a36138bc
--- /dev/null
+++ b/cpan/Test-Simple/t/import.t
@@ -0,0 +1,12 @@
+BEGIN {
+ if( $ENV{PERL_CORE} ) {
+ chdir 't';
+ @INC = '../lib';
+ }
+}
+
+
+use Test::More tests => 2, import => [qw(!fail)];
+
+can_ok(__PACKAGE__, qw(ok pass like isa_ok));
+ok( !__PACKAGE__->can('fail'), 'fail() not exported' );