From: Charles McGarvey Date: Thu, 14 Nov 2019 02:35:05 +0000 (-0700) Subject: hopefully fix pod2usage "not a glob reference" bug X-Git-Tag: v0.44~3 X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fgit-codeowners;a=commitdiff_plain;h=391901ee321dbab7361e1d63c39215d2deb0f551 hopefully fix pod2usage "not a glob reference" bug --- diff --git a/t/app-codeowners.t b/t/app-codeowners.t index 5ec78cb..af426e6 100644 --- a/t/app-codeowners.t +++ b/t/app-codeowners.t @@ -14,8 +14,8 @@ use Test::More; my $can_git = _can_git(); -# Set progname so that pod2usage knows how to find the script after we chdir -$0 = path($Bin)->parent->child('bin/git-codeowners')->absolute; +# Set progname so that pod2usage knows how to find the script after we chdir. +$0 = path($Bin)->parent->child('bin/git-codeowners')->absolute->stringify; $ENV{NO_COLOR} = 1;