* [PATCH] t/import: quiet warning, clobber variable
@ 2020-07-16 21:54 7% Eric Wong
0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2020-07-16 21:54 UTC (permalink / raw)
To: meta
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(+)
diff --git a/t/import.t b/t/import.t
index 9491f3374..440e8994a 100644
--- a/t/import.t
+++ b/t/import.t
@@ -126,5 +126,6 @@ like($$bref, qr/^author Ba d \$main::badchars <spammer\@example\.com> /sm,
'latest commit accepted by spammer');
$git->qx(qw(fsck --no-progress --strict));
is($?, 0, 'fsck reported no errors');
+$main::badchars = undef;
done_testing();
^ permalink raw reply related [relevance 7%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-07-16 21:54 7% [PATCH] t/import: quiet warning, clobber variable Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).