]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/blobdiff - t/02-autocoerce.t
Fix the autocoercing code with recent versions of Moose
[perl/modules/LaTeX-TikZ.git] / t / 02-autocoerce.t
index 86d49ccacf35b50540db56b795a88733b86696c2..cbfb6e39df1f675a222e77053fa59fbddac58843 100644 (file)
@@ -108,7 +108,7 @@ use LaTeX::TikZ::Meta::TypeConstraint::Autocoerce;
   coerce   => 1,
  );
 
- __PACKAGE__->meta->make_immutable;
+ __PACKAGE__->meta->make_immutable if any_moose() ne 'Moose';
 
  sub main::Z () { __PACKAGE__ }
 }