diff options
author | Eric Wong <e@80x24.org> | 2019-06-13 01:53:18 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-13 02:27:16 +0000 |
commit | ac8fb90b7a20e790fc5e927ffd8134b6a5c2661c (patch) | |
tree | 99d4592dc48e2300cfc38586d889f61ee1dbc588 | |
parent | 0e61f4d27f270a49c748ed99e1a5cc0809e6835b (diff) | |
download | public-inbox-ac8fb90b7a20e790fc5e927ffd8134b6a5c2661c.tar.gz |
And enable strict + warnings in the scope of t/common.perl, too.
-rw-r--r-- | t/common.perl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/common.perl b/t/common.perl index e49a5965..5a898e32 100644 --- a/t/common.perl +++ b/t/common.perl @@ -3,6 +3,8 @@ use Fcntl qw(FD_CLOEXEC F_SETFD F_GETFD); use POSIX qw(dup2); +use strict; +use warnings; sub stream_to_string { my ($res) = @_; @@ -48,7 +50,7 @@ sub require_git ($;$) { my $cur_int = ($cur_maj << 24) | ($cur_min << 16); if ($cur_int < $req_int) { return 0 if $maybe; - plan skip_all => "git $req+ required, have $git_ver"; + plan skip_all => "git $req+ required, have $cur_maj.$cur_min"; } 1; } |