]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/lei.t
t/lei*: set EDITOR for dumb terminals
[public-inbox.git] / t / lei.t
diff --git a/t/lei.t b/t/lei.t
index 53fc43fbbb0a2d5db62284612a23fd87fc446543..f7de1b711a836827b5fdbbff40473ad408eb3fce 100644 (file)
--- a/t/lei.t
+++ b/t/lei.t
@@ -101,7 +101,7 @@ my $test_config = sub {
        lei_ok(qw(-c imap.debug=a -c imap.debug=b config --get-all imap.debug));
        is($lei_out, "a\nb\n", '-c and --get-all work together');
 
-       lei_ok([qw(config -e)], { VISUAL => 'cat' });
+       lei_ok([qw(config -e)], { VISUAL => 'cat', EDITOR => 'cat' });
        is($lei_out, "[a]\n\tb = c\n", '--edit works');
 };