X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-ClassAttribute.git;a=blobdiff_plain;f=t%2F05-with-attribute-helpers-backcompat.t;fp=t%2F05-with-attribute-helpers-backcompat.t;h=3712c7cb94ee89161751dd500c6ad61cc3e5f565;hp=5cea4feb29d694661ca58c213ea776cc509c5fb5;hb=3e9e5aef1aa4a05b64d7beddc49121775bec5320;hpb=cd8784bb787360b59a0df1d8513633ce2bd593f4 diff --git a/t/05-with-attribute-helpers-backcompat.t b/t/05-with-attribute-helpers-backcompat.t index 5cea4fe..3712c7c 100644 --- a/t/05-with-attribute-helpers-backcompat.t +++ b/t/05-with-attribute-helpers-backcompat.t @@ -7,7 +7,6 @@ use Test::Requires { 'MooseX::AttributeHelpers' => 0.23, }; - { package MyClass; @@ -15,12 +14,13 @@ use Test::Requires { use MooseX::ClassAttribute; use MooseX::AttributeHelpers; - class_has counter => - ( metaclass => 'Counter', - is => 'ro', - provides => { inc => 'inc_counter', - }, - ); + class_has counter => ( + metaclass => 'Counter', + is => 'ro', + provides => { + inc => 'inc_counter', + }, + ); } is( MyClass->counter(), 0 );