From: Tomas Doran Date: Sun, 12 Jul 2009 00:56:51 +0000 (+0000) Subject: Fix test X-Git-Tag: 5.80008~65 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=278ff444cbe60ecc35b542062a6ce768dafa71da;hp=009b5b2324f83396439a494a56684efb60eb2cd8 Fix test --- diff --git a/t/lib/TestPluginWithConstructor.pm b/t/lib/TestPluginWithConstructor.pm index e5bdb1c..e251568 100644 --- a/t/lib/TestPluginWithConstructor.pm +++ b/t/lib/TestPluginWithConstructor.pm @@ -1,11 +1,17 @@ # See t/plugin_new_method_backcompat.t -package TestPluginWithConstructor; +package Class::Accessor::Fast; use strict; use warnings; + sub new { my $class = shift; return bless $_[0], $class; } +package TestPluginWithConstructor; +use strict; +use warnings; +use base qw/Class::Accessor::Fast/; + 1;