X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft6300-for-each-ref.sh;h=7dc8a510c7f33d048cd3268424298fdda2f8c2bb;hb=a26df4cd2fdad7451d4ec99f8a339b9e107a4728;hp=8052c86ad3516505765ab214f4801940c8cc1684;hpb=0476228de500049804ae599f557658c3f9042ad0;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)" '