about summary refs log tree commit homepage
diff options
context:
space:
mode:
-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");