make ::Strict work with the trait stuff
[gitmo/MooseX-Getopt.git] / t / 005_strict.t
index 206cb64..dd4c6c3 100644 (file)
@@ -34,7 +34,7 @@ BEGIN {
     );
 
     has 'horse' => (
-        metaclass   => 'Getopt',
+        traits      => ['Getopt'],
         is          => 'ro',
         isa         => 'Str',
         default     => 'bray',