diff options
author | Eric Wong <e@80x24.org> | 2019-12-16 08:07:34 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-12-17 02:53:06 +0000 |
commit | 8d801146e36c42175a709bfdc90137fddc5c0862 (patch) | |
tree | 9a9064fe65b0e4c8b953d42dfcde334dcb04169d /t | |
parent | 27eb9c104c8287decadda6b7d2b6966aac545945 (diff) | |
download | public-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.t | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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"); |