X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Flei.t;h=f7de1b711a836827b5fdbbff40473ad408eb3fce;hb=96a5e841a169166457d9cf485e27a0d6cbe7ed75;hp=c8f475762153c05d58dc77fcdfa935472bc956ab;hpb=04657044bb3695d70298624eb25394fb864fb718;p=public-inbox.git diff --git a/t/lei.t b/t/lei.t index c8f47576..f7de1b71 100644 --- a/t/lei.t +++ b/t/lei.t @@ -100,6 +100,9 @@ my $test_config = sub { is($lei_out, "tr00\n", "-c string value passed as-is"); 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', EDITOR => 'cat' }); + is($lei_out, "[a]\n\tb = c\n", '--edit works'); }; my $test_completion = sub {