From: Shawn M Moore Date: Wed, 1 Apr 2009 03:10:36 +0000 (-0400) Subject: Fix version check X-Git-Tag: 0.20~54 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8de42c413af07a9e26501c06d217383929d7f3d3;p=gitmo%2FMouse.git Fix version check --- diff --git a/t/800_shikabased/013-compatibility-get_method_list.t b/t/800_shikabased/013-compatibility-get_method_list.t index 2b32960..e75ce26 100644 --- a/t/800_shikabased/013-compatibility-get_method_list.t +++ b/t/800_shikabased/013-compatibility-get_method_list.t @@ -1,7 +1,7 @@ use strict; use warnings; use Test::More; -plan skip_all => "This test requires Moose 0.68" unless eval "require Moose 0.68; 1;"; +plan skip_all => "This test requires Moose 0.68" unless eval { require Moose; Moose->VERSION(0.68); }; plan tests => 6; test($_) for qw/Moose Mouse/;