From f5efd110aab302b4eee83bd260dd9edac420539f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 16 Jul 2020 21:54:24 +0000 Subject: t/import: quiet warning, clobber variable The eval in key2sub via t/run.perl ("make check-run") won't trigger the warning, but running "prove -bvw t/import.t" directly, does. In any case, ensure the contents of this variable doesn't linger across runs. --- t/import.t | 1 + 1 file changed, 1 insertion(+) (limited to 't/import.t') diff --git a/t/import.t b/t/import.t index 9491f337..440e8994 100644 --- a/t/import.t +++ b/t/import.t @@ -126,5 +126,6 @@ like($$bref, qr/^author Ba d \$main::badchars /sm, 'latest commit accepted by spammer'); $git->qx(qw(fsck --no-progress --strict)); is($?, 0, 'fsck reported no errors'); +$main::badchars = undef; done_testing(); -- cgit v1.2.3-24-ge0c7