t/edit.t | 1 - diff --git a/t/edit.t b/t/edit.t index 02df6cda68e3d75f3899becc227b62c1935a4d11..122aa19f0b745d6d1dcd50632b57f718300553b8 100644 --- a/t/edit.t +++ b/t/edit.t @@ -129,7 +129,6 @@ "$^X -i -p -e 's/boolean prefix/bool pfx/'"); 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");