use strict;
use warnings;
-use Test::More 'no_plan';
+use Test::More;
use Test::Exception;
BEGIN {
+ require Moose;
+
+ plan skip_all => 'Moose::Policy does not work with recent versions of Moose'
+ if Moose->VERSION >= 1.05;
+
+ plan tests => 2;
+
use_ok('Moose::Policy');
}