Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add some tests for git update-ref -d
[gitweb.git]
/
t
/
t6120-describe.sh
diff --git
a/t/t6120-describe.sh
b/t/t6120-describe.sh
index 56bbd8519d69a1fc31293f30eb3c8a7b20a285cc..ea476a2582c87b48ea5e8925a275184e8671391e 100755
(executable)
--- a/
t/t6120-describe.sh
+++ b/
t/t6120-describe.sh
@@
-108,7
+108,7
@@
warning: tag 'A' is really 'Q' here
EOF
check_describe A-* HEAD
test_expect_success 'warning was displayed for Q' '
-
git diff
err.expect err.actual
+
test_cmp
err.expect err.actual
'
test_expect_success 'rename tag Q back to A' '
mv .git/refs/tags/Q .git/refs/tags/A