Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Test::More first, fixes too many test errors #213

Merged
merged 2 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading