]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/solver_git.t
lei index+import: reject keywords from R/O IMAP
[public-inbox.git] / t / solver_git.t
index ad0c295b5526dcf24e2ff62b9fdbdd6f78755e42..13e478b325bcfa3b1c9f4613c99f4971f761461d 100644 (file)
@@ -86,6 +86,9 @@ index 15ac20eb..771486c4
 EOM
        ok(index($lei_out, $exp) >= 0,
                'preserve mode, regen header + context from -U0 patch');
+       my $e = { GIT_DIR => "$ENV{HOME}/.local/share/lei/store/ALL.git" };
+       my @x = xqx([qw(git cat-file --batch-all-objects --batch-check)], $e);
+       is_deeply(\@x, [], 'no objects stored') or diag explain(\@x);
 });
 
 test_lei({tmpdir => "$tmpdir/index-eml-only"}, sub {