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?a=commitdiff_plain;h=737ddcb2a887fbd7c687b4788b02ec0f99874da7;p=gitmo%2FMooseX-Singleton.git 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;