diff options
author | Eric Wong <e@80x24.org> | 2019-12-22 03:54:46 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-12-22 03:55:06 +0000 |
commit | 3f7c0003047a81375d5a6f8c0633a43893d75cc1 (patch) | |
tree | bdd47d5b6c2e56223b8c8e4bfa18a15be8104bb2 /lib | |
parent | 5c46cd1b3aa2421ef1e1b794b1c2358898cdf37a (diff) | |
download | public-inbox-3f7c0003047a81375d5a6f8c0633a43893d75cc1.tar.gz |
require_git is no longer in the "::main" namespace, so we must call Test::More::plan() explicitly.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/TestCommon.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/TestCommon.pm b/lib/PublicInbox/TestCommon.pm index 2828c0d0..372cafa6 100644 --- a/lib/PublicInbox/TestCommon.pm +++ b/lib/PublicInbox/TestCommon.pm @@ -53,7 +53,8 @@ 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 $cur_maj.$cur_min"); + Test::More::plan(skip_all => + "git $req+ required, have $cur_maj.$cur_min"); } 1; } |