diff options
author | Eric Wong <e@yhbt.net> | 2020-07-16 21:54:24 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-07-17 18:54:59 +0000 |
commit | f5efd110aab302b4eee83bd260dd9edac420539f (patch) | |
tree | d945a7ee151df27acba5348141f30a593c394ba0 /t/import.t | |
parent | 2ca7db34a51b858c9d7f6f7366afb9fffee86b6e (diff) | |
download | public-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.t | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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(); |