about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-12-16 08:07:34 +0000
committerEric Wong <e@80x24.org>2019-12-17 02:53:06 +0000
commit8d801146e36c42175a709bfdc90137fddc5c0862 (patch)
tree9a9064fe65b0e4c8b953d42dfcde334dcb04169d /t
parent27eb9c104c8287decadda6b7d2b6966aac545945 (diff)
downloadpublic-inbox-8d801146e36c42175a709bfdc90137fddc5c0862.tar.gz
"delete local" is only in Perl v5.11.0, and we only depend on
Perl v5.10.1.  We already localize and delete it as two separate
statements immediately above.

I wish this was hidden behind a "use feature" flag like other
new-fangled things :<.  Oh well, I think the oldest Perl actually
in use for this project is 5.16 (CentOS 7.x).
Diffstat (limited to 't')
-rw-r--r--t/edit.t1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/edit.t b/t/edit.t
index 02df6cda..122aa19f 100644
--- a/t/edit.t
+++ b/t/edit.t
@@ -129,7 +129,6 @@ $t = 'mailEditor set in config'; {
         is($rc, 0, 'set publicinbox.mailEditor');
         local $ENV{MAIL_EDITOR};
         delete $ENV{MAIL_EDITOR};
-        delete local $ENV{MAIL_EDITOR};
         local $ENV{GIT_EDITOR} = 'echo should not run';
         $cmd = [ '-edit', "-m$mid", $inboxdir ];
         ok(run_script($cmd, undef, $opt), "$t edited message");