From: Dave Rolsky Date: Mon, 14 Feb 2011 03:29:22 +0000 (-0600) Subject: Code tweaklet X-Git-Tag: v0.23~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6e861251b0ada66e690cd6179656f343f09a5dd4;p=gitmo%2FMooseX-ClassAttribute.git Code tweaklet --- diff --git a/t/11-strict-role-composition.t b/t/11-strict-role-composition.t index 3e5cd8c..a2b76ec 100644 --- a/t/11-strict-role-composition.t +++ b/t/11-strict-role-composition.t @@ -17,11 +17,11 @@ use Test::Requires { use MooseX::ClassAttribute; class_has attr => ( + traits => ['Hash'], is => 'ro', isa => 'HashRef[Str]', lazy => 1, default => sub { {} }, - traits => ['Hash'], handles => { has_attr => 'exists', },