From: Norbert Buchmuller Date: Mon, 6 Sep 2010 13:22:53 +0000 (+0200) Subject: Failing test for a bug in the singleton extending a plain Moose class. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Singleton.git;a=commitdiff_plain;h=refs%2Fheads%2Ftopic%2Fextends_moose_bug Failing test for a bug in the singleton extending a plain Moose class. Probably the same bug as RT #58083. --- diff --git a/t/007-extends_moose.t b/t/007-extends_moose.t new file mode 100644 index 0000000..dc9cfbb --- /dev/null +++ b/t/007-extends_moose.t @@ -0,0 +1,17 @@ +use strict; +use warnings; +use Test::More; + +BEGIN { + package MooseX::Singleton::Test::Base; + use Moose; + + package MooseX::Singleton::Test; + use MooseX::Singleton; + + extends 'MooseX::Singleton::Test::Base'; +} + +can_ok( 'MooseX::Singleton::Test', 'instance'); + +done_testing;