Skip to content

Commit

Permalink
run 'use_ok' on all modules
Browse files Browse the repository at this point in the history
  • Loading branch information
yanick committed Aug 22, 2018
1 parent fdaf21b commit 1ab03c5
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions t/00use.t
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
#!perl
use warnings;
use strict;

use lib 'lib';
use strict;

use Test::More tests => 4 + 1;
use Test::More;
use Test::Warnings;
use Test::LoadAllModules;

plan tests => 1+1;

use_ok( 'Net::Amazon::S3' );
use_ok( 'Net::Amazon::S3::Client' );
use_ok( 'Net::Amazon::S3::Client::Bucket' );
use_ok( 'Net::Amazon::S3::Client::Object' );
subtest 'use_ok' => sub {
all_uses_ok(
search_path => 'Net::Amazon::S3',
except => [qw/ /],
)
};

0 comments on commit 1ab03c5

Please sign in to comment.