diff options
Diffstat (limited to 'ext/Module-Pluggable/t/02alsoworks.t')
-rw-r--r-- | ext/Module-Pluggable/t/02alsoworks.t | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/ext/Module-Pluggable/t/02alsoworks.t b/ext/Module-Pluggable/t/02alsoworks.t deleted file mode 100644 index 131df29da0..0000000000 --- a/ext/Module-Pluggable/t/02alsoworks.t +++ /dev/null @@ -1,42 +0,0 @@ -#!perl -w - -use strict; -use FindBin; -use lib (($FindBin::Bin."/lib")=~/^(.*)$/); -use Test::More tests => 5; - -my $foo; -ok($foo = MyOtherTest->new()); - -my @plugins; -my @expected = qw(MyOtherTest::Plugin::Bar MyOtherTest::Plugin::Foo MyOtherTest::Plugin::Quux MyOtherTest::Plugin::Quux::Foo); -ok(@plugins = sort $foo->plugins); - - - -is_deeply(\@plugins, \@expected, "is deeply"); - -@plugins = (); - -ok(@plugins = sort MyOtherTest->plugins); - - - - -is_deeply(\@plugins, \@expected, "is deeply class"); - - - -package MyOtherTest; - -use strict; -use Module::Pluggable; - - -sub new { - my $class = shift; - return bless {}, $class; - -} -1; - |