X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F004_nogetop.t;h=e4a1c5a4986c8d9667a4bdad01fdbf443cba06b3;hb=053fa19e136de81f8144bd403b5da17c2dbd0c01;hp=c26006def152c1fe80aea589d7be8d0913112c92;hpb=19b87ede54eb20f76fafd42a944d56eb0f031dcb;p=gitmo%2FMooseX-Getopt.git diff --git a/t/004_nogetop.t b/t/004_nogetop.t index c26006d..e4a1c5a 100644 --- a/t/004_nogetop.t +++ b/t/004_nogetop.t @@ -112,7 +112,6 @@ foreach my $parser_name (qw(MooseX::Getopt::Parser::Long MooseX::Getopt::Parser: local @ARGV = (qw/--private_stuff 317/); throws_ok { - my $parser = $parser_name->new; isa_ok($parser, $parser_name); @@ -120,7 +119,6 @@ foreach my $parser_name (qw(MooseX::Getopt::Parser::Long MooseX::Getopt::Parser: isa_ok($getopt, 'MooseX::Getopt::Session'); App->new_with_options( getopt => $getopt ) - } qr/Unknown option: private_stuff/; }