summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/t/Module_Pluggable/10innerpack_inner.t
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/t/Module_Pluggable/10innerpack_inner.t')
-rw-r--r--gnu/usr.bin/perl/t/Module_Pluggable/10innerpack_inner.t34
1 files changed, 0 insertions, 34 deletions
diff --git a/gnu/usr.bin/perl/t/Module_Pluggable/10innerpack_inner.t b/gnu/usr.bin/perl/t/Module_Pluggable/10innerpack_inner.t
deleted file mode 100644
index 55edcd9246a..00000000000
--- a/gnu/usr.bin/perl/t/Module_Pluggable/10innerpack_inner.t
+++ /dev/null
@@ -1,34 +0,0 @@
-#!perl -w
-
-use strict;
-use FindBin;
-use lib "$FindBin::Bin/lib";
-use Test::More tests => 3;
-
-
-
-my $t = InnerTest->new();
-
-my %plugins = map { $_ => 1 } $t->plugins;
-
-ok(keys %plugins, "Got some plugins");
-ok($plugins{'InnerTest::Plugin::Foo'}, "Got Foo");
-ok($plugins{'InnerTest::Plugin::Bar'}, "Got Bar - the inner package");
-
-
-
-package InnerTest;
-use strict;
-use Module::Pluggable inner => 1;
-use base qw(Module::Pluggable);
-
-
-sub new {
- my $class = shift;
- return bless {}, $class;
-
-}
-
-
-1;
-