summaryrefslogtreecommitdiff
path: root/t/t5516-fetch-push.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2018-08-31 20:09:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-31 21:04:06 (GMT)
commit253b3d4f57266449c4351e992263eb1cf615a0ae (patch)
treeba7e533338036a07849d74207e46b4ff9a9c1825 /t/t5516-fetch-push.sh
parentf08fb8dfea403497e2070cb9778ceafcf799a615 (diff)
downloadgit-253b3d4f57266449c4351e992263eb1cf615a0ae.zip
git-253b3d4f57266449c4351e992263eb1cf615a0ae.tar.gz
git-253b3d4f57266449c4351e992263eb1cf615a0ae.tar.bz2
push tests: use spaces in interpolated string
The quoted -m'msg' option would mean the same as -mmsg when passed through the test_force_push_tag helper. Let's instead use a string with spaces in it, to have a working example in case we need to pass other whitespace-delimited arguments to git-tag. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5516-fetch-push.sh')
-rwxr-xr-xt/t5516-fetch-push.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh
index 84d846c..5023908 100755
--- a/t/t5516-fetch-push.sh
+++ b/t/t5516-fetch-push.sh
@@ -1009,7 +1009,7 @@ test_force_push_tag () {
}
test_force_push_tag "lightweight tag" "-f"
-test_force_push_tag "annotated tag" "-f -a -m'msg'"
+test_force_push_tag "annotated tag" "-f -a -m'tag message'"
test_expect_success 'push --porcelain' '
mk_empty testrepo &&