From: Piotr Roszatycki Date: Thu, 20 Nov 2008 15:24:52 +0000 (+0000) Subject: * t/*.t: Fixed test plans. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7c1cb743e00a8c9335d5ccb15fc6f3ea520825c8;p=gitmo%2FMooseX-Getopt.git * t/*.t: Fixed test plans. --- diff --git a/t/002_custom_option_type.t b/t/002_custom_option_type.t index ce4f9b8..c2250bb 100644 --- a/t/002_custom_option_type.t +++ b/t/002_custom_option_type.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 31; +use Test::More tests => 34; BEGIN { use_ok('MooseX::Getopt'); @@ -38,7 +38,7 @@ foreach my $parser_name (qw(MooseX::Getopt::Parser::Long MooseX::Getopt::Parser: SKIP: { if ($parser_name eq 'MooseX::Getopt::Parser::Descriptive') { eval { require Getopt::Long::Descriptive }; - skip "Getopt::Long::Descriptive not installed", 10 if $@; + skip "Getopt::Long::Descriptive not installed", 11 if $@; } { diff --git a/t/004_nogetop.t b/t/004_nogetop.t index 89977d0..e13b877 100644 --- a/t/004_nogetop.t +++ b/t/004_nogetop.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 34; +use Test::More tests => 37; use Test::Exception; BEGIN { @@ -85,7 +85,7 @@ foreach my $parser_name (qw(MooseX::Getopt::Parser::Long MooseX::Getopt::Parser: SKIP: { if ($parser_name eq 'MooseX::Getopt::Parser::Descriptive') { eval { require Getopt::Long::Descriptive }; - skip "Getopt::Long::Descriptive not installed", 11 if $@; + skip "Getopt::Long::Descriptive not installed", 12 if $@; } { diff --git a/t/005_strict.t b/t/005_strict.t index ead60f0..3dd9351 100644 --- a/t/005_strict.t +++ b/t/005_strict.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 40; +use Test::More tests => 46; use Test::Exception; BEGIN { @@ -84,7 +84,7 @@ foreach my $parser_name (qw(MooseX::Getopt::Parser::Long MooseX::Getopt::Parser: SKIP: { if ($parser_name eq 'MooseX::Getopt::Parser::Descriptive') { eval { require Getopt::Long::Descriptive }; - skip "Getopt::Long::Descriptive not installed", 13 if $@; + skip "Getopt::Long::Descriptive not installed", 15 if $@; } { diff --git a/t/007_nogetopt_trait.t b/t/007_nogetopt_trait.t index 872a9cb..c6f0ebc 100644 --- a/t/007_nogetopt_trait.t +++ b/t/007_nogetopt_trait.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 34; +use Test::More tests => 37; use Test::Exception; BEGIN { @@ -85,7 +85,7 @@ foreach my $parser_name (qw(MooseX::Getopt::Parser::Long MooseX::Getopt::Parser: SKIP: { if ($parser_name eq 'MooseX::Getopt::Parser::Descriptive') { eval { require Getopt::Long::Descriptive }; - skip "Getopt::Long::Descriptive not installed", 11 if $@; + skip "Getopt::Long::Descriptive not installed", 12 if $@; } { diff --git a/t/008_configfromfile.t b/t/008_configfromfile.t index 8fc724c..5db9586 100644 --- a/t/008_configfromfile.t +++ b/t/008_configfromfile.t @@ -12,7 +12,7 @@ if ( !eval { require MooseX::ConfigFromFile } ) } else { - plan tests => 119; + plan tests => 123; } { @@ -78,7 +78,7 @@ foreach my $parser_name (qw(MooseX::Getopt::Parser::Long MooseX::Getopt::Parser: SKIP: { if ($parser_name eq 'MooseX::Getopt::Parser::Descriptive') { eval { require Getopt::Long::Descriptive }; - skip "Getopt::Long::Descriptive not installed", 39 if $@; + skip "Getopt::Long::Descriptive not installed", 41 if $@; } # No config specified