From: Tomas Doran Date: Tue, 8 Feb 2011 19:55:19 +0000 (+0000) Subject: revert d08ef824 - test_requires wrong X-Git-Tag: 0.34~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7d634446ce2bc72bafb0dd56d016889b98a9314f;p=gitmo%2FMooseX-Getopt.git revert d08ef824 - test_requires wrong --- diff --git a/dist.ini b/dist.ini index 77935f3..94abdf5 100644 --- a/dist.ini +++ b/dist.ini @@ -20,5 +20,13 @@ repository_at = gitmo authority = cpan:STEVAN auto_prereq = 0 -[AutoPrereq] -skip = ^(?:App|BaseApp|MooseX::ConfigFromFile|MooseX::SimpleConfig) +[Prereq] +Getopt::Long = 2.37 +Getopt::Long::Descriptive = 0.081 +Moose = 0.56 + +[Prereq / TestRequires] +Test::Fatal = 0.003 +Test::Warn = 0.21 +Test::More = 0.88 +Test::Requires = 0.05 diff --git a/t/004_nogetop.t b/t/004_nogetop.t index 974c6c8..a69310f 100644 --- a/t/004_nogetop.t +++ b/t/004_nogetop.t @@ -4,7 +4,7 @@ use strict; use warnings; use Test::More tests => 9; -use Test::Fatal; +use Test::Fatal 0.003; BEGIN { use_ok('MooseX::Getopt'); diff --git a/t/008_configfromfile.t b/t/008_configfromfile.t index 1a1d847..9d55f52 100644 --- a/t/008_configfromfile.t +++ b/t/008_configfromfile.t @@ -7,7 +7,7 @@ use Test::More tests => 37; use Test::Fatal; use File::Spec; -use Test::Requires 0.05 { +use Test::Requires { 'MooseX::ConfigFromFile' => 0.01, # skip all if not installed }; diff --git a/t/107_no_auto_help.t b/t/107_no_auto_help.t index 5ff7780..f252780 100644 --- a/t/107_no_auto_help.t +++ b/t/107_no_auto_help.t @@ -42,7 +42,7 @@ my $fail_on_exit = 1; } use Test::Warn 0.21; -use Test::Fatal; +use Test::Fatal 0.003; END { ok(!$fail_on_exit, 'getoptions() lives');