X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft6300-for-each-ref.sh;h=7dc8a510c7f33d048cd3268424298fdda2f8c2bb;hb=3499cb1ae7b97ce8f67879156e2014e31dd985b6;hp=8052c86ad3516505765ab214f4801940c8cc1684;hpb=a42332c21723fde9f36b579f6b39a23aa1aac137;p=git.git diff --git a/t/t6300-for-each-ref.sh b/t/t6300-for-each-ref.sh index 8052c86ad..7dc8a510c 100755 --- a/t/t6300-for-each-ref.sh +++ b/t/t6300-for-each-ref.sh @@ -295,6 +295,15 @@ test_expect_success 'Check short upstream format' ' test_cmp expected actual ' +cat >expected <actual && + test_cmp expected actual +' + test_expect_success 'Check for invalid refname format' ' test_must_fail git for-each-ref --format="%(refname:INVALID)" '