X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Frgit.git;a=blobdiff_plain;f=t%2Flib%2FApp%2FRgit%2FTestUtils.pm;fp=t%2Flib%2FApp%2FRgit%2FTestUtils.pm;h=b736a5d6c0001171a0b72bde2eb6ca35628b5072;hp=321f96474b6972f69f65ec0b490a6931dabd95d1;hb=80656eec9bd2400f8db71d0d10d7d0be54139667;hpb=687f613f4cb227badb87cfd26c7dc7ceae810d03 diff --git a/t/lib/App/Rgit/TestUtils.pm b/t/lib/App/Rgit/TestUtils.pm index 321f964..b736a5d 100644 --- a/t/lib/App/Rgit/TestUtils.pm +++ b/t/lib/App/Rgit/TestUtils.pm @@ -3,10 +3,10 @@ package App::Rgit::TestUtils; use strict; use warnings; -use Cwd qw/abs_path/; -use File::Temp qw/tempfile/; +use Cwd qw; +use File::Temp qw; use File::Spec (); # curdir, catfile -use POSIX qw/WIFEXITED WEXITSTATUS WIFSIGNALED WTERMSIG/; +use POSIX qw; BEGIN { no warnings 'redefine'; @@ -16,9 +16,9 @@ BEGIN { *WTERMSIG = sub { shift() & 127 } unless eval { WTERMSIG(0); 1 }; } -use base qw/Exporter/; +use base qw; -our @EXPORT_OK = (qw/can_run_git/); +our @EXPORT_OK = (qw); sub can_run_git { my ($fh, $filename) = tempfile(UNLINK => 1); @@ -32,7 +32,7 @@ TRY: 'version', ); - my $git = File::Spec->catfile(File::Spec->curdir, qw/t bin git/); + my $git = File::Spec->catfile(File::Spec->curdir, qw); if ($^O eq 'MSWin32') { unless (-x $git) { $git .= '.bat';