projects
/
gitmo/MooseX-Getopt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
prefer trait over metaclass as much as possible
[gitmo/MooseX-Getopt.git]
/
t
/
100_gld_default_bug.t
diff --git
a/t/100_gld_default_bug.t
b/t/100_gld_default_bug.t
index
40ca140
..
85e10e3
100644
(file)
--- a/
t/100_gld_default_bug.t
+++ b/
t/100_gld_default_bug.t
@@
-17,7
+17,7
@@
use_ok('MooseX::Getopt');
with 'MooseX::Getopt';
has 'nproc' => (
- metaclass => 'Getopt',
+ traits => ['Getopt'],
is => 'ro',
isa => 'Int',
default => sub { 1 },