about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/solver_git.t9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/solver_git.t b/t/solver_git.t
index 197a003a..66e63176 100644
--- a/t/solver_git.t
+++ b/t/solver_git.t
@@ -64,6 +64,15 @@ if (0) { # TODO: check this?
         diag $z;
 }
 
+my $oid = $expect;
+for my $i (1..2) {
+        my $more;
+        my $s = PublicInbox::SolverGit->new($ibx, sub { $more = $_[0] });
+        $s->solve($psgi_env, $log, $oid, {});
+        is($more->[1], $expect, 'resolved blob to long OID '.$i);
+        chop($oid);
+}
+
 $solver = undef;
 $res = undef;
 my $wt_git_dir = $wt_git->{git_dir};