65dbb9f
From: cpan [...] zoffix.com
65dbb9f
65dbb9f
Fix warnings with recent Moose.
65dbb9f
65dbb9f
CPAN RT#92396
65dbb9f
diff -Naur Test-Able-0.11_orig/lib/Test/Able/Role/Meta/Class.pm Test-Able-0.11/lib/Test/Able/Role/Meta/Class.pm
65dbb9f
--- Test-Able-0.11_orig/lib/Test/Able/Role/Meta/Class.pm	2014-01-22 20:25:19.709623125 -0500
65dbb9f
+++ Test-Able-0.11/lib/Test/Able/Role/Meta/Class.pm	2014-01-22 20:26:11.485623804 -0500
65dbb9f
@@ -156,7 +156,7 @@
65dbb9f
 
65dbb9f
 =cut
65dbb9f
 
65dbb9f
-enum 'Test::Able::MethodPlanFailAction' => qw( die log );
65dbb9f
+enum 'Test::Able::MethodPlanFailAction' => [qw( die log )];
65dbb9f
 
65dbb9f
 has 'on_method_plan_fail' => (
65dbb9f
     is => 'rw', isa => 'Test::Able::MethodPlanFailAction', default => 'log',
65dbb9f
@@ -195,7 +195,7 @@
65dbb9f
 
65dbb9f
 =cut
65dbb9f
 
65dbb9f
-enum 'Test::Able::MethodExceptionAction' => qw( continue continue_at_level );
65dbb9f
+enum 'Test::Able::MethodExceptionAction' => [qw( continue continue_at_level )];
65dbb9f
 
65dbb9f
 has 'on_method_exception' => (
65dbb9f
     is => 'rw', isa => 'Test::Able::MethodExceptionAction',