prefer trait over metaclass as much as possible
[gitmo/MooseX-Getopt.git] / t / 100_gld_default_bug.t
index 40ca140..85e10e3 100644 (file)
@@ -17,7 +17,7 @@ use_ok('MooseX::Getopt');
     with 'MooseX::Getopt';
 
     has 'nproc' => (
-        metaclass   => 'Getopt',
+        traits      => ['Getopt'],
         is          => 'ro',
         isa         => 'Int',
         default     => sub { 1 },