remove Test::Deep usage that is not that necessary
[gitmo/MooseX-Getopt.git] / t / 005_strict.t
index 03eaf50..9c79115 100644 (file)
@@ -10,14 +10,13 @@ BEGIN {
 }
 
 {
-
     package App;
     use Moose;
 
     with 'MooseX::Getopt::Strict';
 
     has 'data' => (
-        metaclass => 'Getopt',
+        traits    => ['Getopt'],
         is        => 'ro',
         isa       => 'Str',
         default   => 'file.dat',
@@ -25,7 +24,7 @@ BEGIN {
     );
 
     has 'cow' => (
-        metaclass   => 'Getopt',
+        traits      => ['Getopt'],
         is          => 'ro',
         isa         => 'Str',
         default     => 'moo',