Skip to content

Commit

Permalink
Merge pull request #80 from metacpan/oalders/test-needs
Browse files Browse the repository at this point in the history
Use Test::Needs to force a minimum WWW::Mechanize::Cached version.
  • Loading branch information
mickeyn committed Mar 29, 2017
2 parents 9238da3 + 2206ed9 commit 0511eb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cpanfile
Expand Up @@ -17,7 +17,7 @@ requires "warnings" => "0";
on 'test' => sub {
requires "Test::Fatal" => "0";
requires "Test::More" => "0";
requires "Test::Requires" => "0";
requires "Test::Needs" => "0.002005";
requires "base" => "0";
requires "blib" => "1.01";
requires "LWP::Protocol::https" => "0";
Expand Down
6 changes: 3 additions & 3 deletions t/ua_trap.t
Expand Up @@ -5,9 +5,9 @@ use Test::More;

# ABSTRACT: Make sure passed value of UA gets used for things.

use Test::Requires {
'WWW::Mechanize::Cached' => 0,
'HTTP::Tiny::Mech' => 0,
use Test::Needs {
'WWW::Mechanize::Cached' => 1.50,
'HTTP::Tiny::Mech' => 1.001002,
};
use Test::Fatal qw( exception );

Expand Down

0 comments on commit 0511eb0

Please sign in to comment.