Skip to content

Commit

Permalink
Merge pull request #213 from michael-stevens/main
Browse files Browse the repository at this point in the history
Use Test::More first, fixes too many test errors
  • Loading branch information
oalders authored Jan 3, 2025
2 parents 61b63d6 + 91ab53f commit 5c89c2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion t/01-detect.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ use JSON::PP ();
use List::Util 1.49 qw( uniq );
use Path::Tiny qw( path );
use Test::Differences qw( eq_or_diff );
use Test::Warnings;
use Test::More import =>
[qw( cmp_ok diag done_testing is is_deeply ok subtest )];
use Test::Warnings;

# test that the module loads without errors
my $w;
Expand Down
2 changes: 1 addition & 1 deletion t/04-random-order.t
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use warnings;
use FindBin ();
use JSON::PP ();
use Path::Tiny qw( path );
use Test::Warnings;
use Test::More import => [qw( cmp_ok done_testing is_deeply ok subtest )];
use Test::Warnings;

# test that the module loads without errors
my $w;
Expand Down
2 changes: 1 addition & 1 deletion t/99-warnings.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ use strict;
use warnings;

use HTTP::BrowserDetect ();
use Test::Warnings;
use Test::More import => [qw( done_testing is ok subtest )];
use Test::Warnings;

ok( my $ua = HTTP::BrowserDetect->new(undef), 'undef produces no warnings' );

Expand Down

0 comments on commit 5c89c2b

Please sign in to comment.