Mouse::Util::does_role() respects $thing->does() method
[gitmo/Mouse.git] / t / 050_metaclasses / 020_metaclass_parameterized_traits.t
index 5d27522..b6544f9 100644 (file)
@@ -1,17 +1,11 @@
 #!/usr/bin/env perl
+# This is automatically generated by author/import-moose-test.pl.
+# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
+use t::lib::MooseCompat;
 use strict;
 use warnings;
-
 use Test::More;
 
-BEGIN{
-    if($] < 5.008){
-        plan skip_all => "segv happens on 5.6.2";
-    }
-}
-
-use Test::More tests => 5;
-
 {
     package My::Trait;
     use Mouse::Role;
@@ -54,3 +48,4 @@ is($other_meta->reversed, 'ssalC::rehtO::yM', 'parameterized trait applied');
 ok(!$other_meta->can('enam'), "the method was not installed under the other class' alias");
 ok(!$other_meta->can('reversed_name'), "the method was not installed under the original name when that was excluded");
 
+done_testing;