[Catalyst-commits] r10864 - Catalyst-Runtime/5.80/trunk/t/lib
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Sun Jul 12 00:56:51 GMT 2009
Author: t0m
Date: 2009-07-12 00:56:51 +0000 (Sun, 12 Jul 2009)
New Revision: 10864
Modified:
Catalyst-Runtime/5.80/trunk/t/lib/TestPluginWithConstructor.pm
Log:
Fix test
Modified: Catalyst-Runtime/5.80/trunk/t/lib/TestPluginWithConstructor.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/t/lib/TestPluginWithConstructor.pm 2009-07-12 00:13:56 UTC (rev 10863)
+++ Catalyst-Runtime/5.80/trunk/t/lib/TestPluginWithConstructor.pm 2009-07-12 00:56:51 UTC (rev 10864)
@@ -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;
More information about the Catalyst-commits
mailing list