X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F005_strict.t;h=9c79115a2c605e6eae331e36c27cf1287266a148;hb=6522bce9db4da59a483ebac15db58d85d90f2f64;hp=03eaf50a2a625d037cf7a4fc0da3ba5398464c98;hpb=9fbb5be9dcf64475fb6f4d25807db1e952be2365;p=gitmo%2FMooseX-Getopt.git diff --git a/t/005_strict.t b/t/005_strict.t index 03eaf50..9c79115 100644 --- a/t/005_strict.t +++ b/t/005_strict.t @@ -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',