X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3200-branch.sh;h=61a2010f5b0e24a50c6cddda9a17bad67f3214b8;hb=f1c8a48a2de69bfc9837c53f2c52ffbe7239dc3e;hp=25e9971fd86af10c1031f4e8061c31a0c80725a7;hpb=459d60084fa463203d0adfc99cbf5d6fcd7edd43;p=git.git diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh index 25e9971fd..61a2010f5 100755 --- a/t/t3200-branch.sh +++ b/t/t3200-branch.sh @@ -194,7 +194,8 @@ test_expect_success 'test deleting branch deletes branch config' \ test_expect_success 'test deleting branch without config' \ 'git branch my7 s && - test "$(git branch -d my7 2>&1)" = "Deleted branch my7."' + sha1=$(git rev-parse my7 | cut -c 1-7) && + test "$(git branch -d my7 2>&1)" = "Deleted branch my7 ($sha1)."' test_expect_success 'test --track without .fetch entries' \ 'git branch --track my8 &&