]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/lei-q-save.t
lei edit-search: fix and add a (weak) test
[public-inbox.git] / t / lei-q-save.t
index 694b33b2e1998914fc0e9272a9b69e8f8dd3327c..6c5920883a7cbae9481c982a2f611b1772834ca0 100644 (file)
@@ -195,5 +195,8 @@ test_lei(sub {
                        glob("$v2s/git/0.git/objects/*/*")));
        ok($shared < $orig, 'fewer bytes stored with --shared') or
                diag "shared=$shared orig=$orig";
+
+       lei_ok([qw(edit-search), $v2s], { VISUAL => 'cat', EDITOR => 'cat' });
+       like($lei_out, qr/^\[lei/sm, 'edit-search can cat');
 });
 done_testing;