about summary refs log tree commit homepage
path: root/t/solver_git.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-08-29 09:26:47 +0000
committerEric Wong <e@80x24.org>2022-08-29 19:06:35 +0000
commit35b7adee1f01a7cce720d944e1666aa44717d024 (patch)
treebfd2441f6bf8311308400ecad2baadde2035c736 /t/solver_git.t
parenta99bf0f90d6d59b8c81876651aaabcd2fd1c4094 (diff)
downloadpublic-inbox-35b7adee1f01a7cce720d944e1666aa44717d024.tar.gz
This is more consistent with the rest of the output where it's
"$TYPE $OID" rather than "$OID $TYPE".  The former also allows
easy copy+pasting into commands for both "git cat-file blob $OID"
and "lei blob $OID".
Diffstat (limited to 't/solver_git.t')
-rw-r--r--t/solver_git.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/solver_git.t b/t/solver_git.t
index 5c7bfa28..958af065 100644
--- a/t/solver_git.t
+++ b/t/solver_git.t
@@ -287,7 +287,8 @@ EOF
                 while (my ($label, $size) = each %bin) {
                         $res = $cb->(GET("/$name/$oid{$label}/s/"));
                         is($res->code, 200, "$label binary file");
-                        ok(index($res->content, "blob $size bytes") >= 0,
+                        ok(index($res->content,
+                                "blob $oid{$label} $size bytes") >= 0,
                                 "showed $label binary blob size");
                         $res = $cb->(GET("/$name/$oid{$label}/s/raw"));
                         is($res->code, 200, "$label raw binary download");