]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/edit.t
t/edit.t: drop redundant "delete local $ENV{...}"
[public-inbox.git] / t / edit.t
index 02df6cda68e3d75f3899becc227b62c1935a4d11..122aa19f0b745d6d1dcd50632b57f718300553b8 100644 (file)
--- 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");