Skip to content

Commit

Permalink
switch from Test::Requires to Test::Needs
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed Aug 13, 2016
1 parent df249a8 commit b2d708c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 6 additions & 0 deletions dist.ini
Expand Up @@ -15,4 +15,10 @@ x_MailingList = http://lists.perl.org/list/perl-qa.html
[Prereqs / DevelopRequires]
Test::Warnings = 0

[Prereqs::Soften]
:version = 0.006000
module = MooseX::Types::Moose
copy_to = develop.requires
to_relationship = none

[Test::Synopsis]
8 changes: 3 additions & 5 deletions t/03-moosex-types.t
Expand Up @@ -3,11 +3,9 @@ use warnings;

use Test::Tester 0.108;

# FIXME: we should be able to pass an import arg to Test::Requires
BEGIN {
use Test::Requires 'MooseX::Types::Moose';
MooseX::Types::Moose->import('Str');
}
use Test::Needs 'MooseX::Types::Moose';
use MooseX::Types::Moose 'Str';

use Test::More 0.88;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
use Test::Deep;
Expand Down

0 comments on commit b2d708c

Please sign in to comment.