Skip to content

Commit c65cad7

Browse files
committed
Apply perlimports to tests
1 parent 3aea4f4 commit c65cad7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

t/file_upload.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ use strict;
22
use warnings;
33
use Test::More;
44
use Test::Exception;
5-
use WWW::Mechanize;
6-
use URI::file;
5+
use WWW::Mechanize ();
6+
use URI::file ();
77

88
my $file = 't/file_upload.html';
99
my $filename = 'the_file_upload.html';

t/form_with_fields.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use strict;
55
use Test::More 'no_plan';
66
use Test::Fatal qw( exception );
77
use Test::Warnings ':all';
8-
use Test::Deep qw( cmp_deeply re array_each code );
8+
use Test::Deep qw( array_each cmp_deeply code re );
99
use URI::file ();
1010

1111
BEGIN {

t/mech-dump/file_not_found.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use warnings;
44
use strict;
55

66
use Test::More;
7-
use Test::Output qw(output_like);
7+
use Test::Output qw( output_like );
88
use File::Spec ();
99

1010
# See https://stackoverflow.com/a/32054866/1331451

xt/author/live/wikipedia.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use WWW::Mechanize ();
1313
use lib 't';
1414

1515
BEGIN {
16-
use Tools;
16+
use Tools qw( $canTMC memory_cycle_ok );
1717
}
1818

1919
my $mech = WWW::Mechanize->new;

0 commit comments

Comments
 (0)