about summary refs log tree commit homepage
path: root/t/import.t
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-07-16 21:54:24 +0000
committerEric Wong <e@yhbt.net>2020-07-17 18:54:59 +0000
commitf5efd110aab302b4eee83bd260dd9edac420539f (patch)
treed945a7ee151df27acba5348141f30a593c394ba0 /t/import.t
parent2ca7db34a51b858c9d7f6f7366afb9fffee86b6e (diff)
downloadpublic-inbox-f5efd110aab302b4eee83bd260dd9edac420539f.tar.gz
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.
Diffstat (limited to 't/import.t')
-rw-r--r--t/import.t1
1 files changed, 1 insertions, 0 deletions
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 <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();