]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5411/test-0033-report-with-options--porcelain.sh
t5411: refactor check of refs using test_cmp_refs
[thirdparty/git.git] / t / t5411 / test-0033-report-with-options--porcelain.sh
index a8ca5dd0dd162a2943ee45faf0c9df7dc0fb5210..11486720eeffd860e1bb708c4715112e0c52ee72 100644 (file)
@@ -256,10 +256,7 @@ test_expect_success "proc-receive: report with multiple rewrites ($PROTOCOL/porc
        EOF
        test_cmp expect actual &&
 
-       git -C "$upstream" show-ref >out &&
-       make_user_friendly_and_stable_output <out >actual &&
-       cat >expect <<-EOF &&
+       test_cmp_refs -C "$upstream" <<-EOF
        <COMMIT-A> refs/heads/main
        EOF
-       test_cmp expect actual
 '