From: Shawn M Moore Date: Mon, 10 Nov 2008 21:51:05 +0000 (+0000) Subject: Test fixes X-Git-Tag: 0.16~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1b5b99a988e392ff2b961fa6abaed1e2d156ee91;p=gitmo%2FMooseX-AttributeHelpers.git Test fixes --- diff --git a/t/900_class_attribute.t b/t/900_class_attribute.t index bb59dc3..33cdc3b 100644 --- a/t/900_class_attribute.t +++ b/t/900_class_attribute.t @@ -1,16 +1,18 @@ #!/usr/bin/env perl use strict; use warnings; -use Test::More tests => 2; +use Test::More; +use MooseX::AttributeHelpers; do { package TestClass; BEGIN { - ::plan skip_all => "MooseX::ClassAttribute required for this test" + ::plan skip_all => "MooseX::ClassAttribute 0.05 required for this test" unless eval { require MooseX::ClassAttribute; MooseX::ClassAttribute->VERSION('0.05'); }; + ::plan tests => 2; MooseX::ClassAttribute->import; }