X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F009_gld_and_explicit_options.t;fp=t%2F009_gld_and_explicit_options.t;h=40a20e447b13cb38b104763049c2d941b29bbdd3;hb=10ed52cb080cfbe757fdb2a4c7ceb463fba93e6c;hp=e99a21647284e19bdb77226f1f4d4bd5d49659a4;hpb=d09046450c54b37640fed28a06a17b7d040ba81a;p=gitmo%2FMooseX-Getopt.git diff --git a/t/009_gld_and_explicit_options.t b/t/009_gld_and_explicit_options.t index e99a216..40a20e4 100644 --- a/t/009_gld_and_explicit_options.t +++ b/t/009_gld_and_explicit_options.t @@ -39,8 +39,7 @@ BEGIN { my $parser = MooseX::Getopt::Parser::Descriptive->new; isa_ok($parser, 'MooseX::Getopt::Parser::Descriptive'); - my %params = (baz => 100); - my $getopt = MooseX::Getopt::Session->new(parser => $parser, params => \%params); + my $getopt = MooseX::Getopt::Session->new(parser => $parser, options => {baz => 100}); my $foo; lives_ok {