make tests work better with forkprove
[gitmo/Moose.git] / t / bugs / create_anon_recursion.t
index 1957381..436048a 100644 (file)
@@ -4,6 +4,11 @@ use warnings;
 use Test::More;
 use Test::Fatal;
 
+BEGIN {
+    plan skip_all => "preloading things makes this test meaningless"
+        if exists $INC{'Moose.pm'};
+}
+
 use Moose::Meta::Class;
 
 $SIG{__WARN__} = sub { die if shift =~ /recurs/ };