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>
Ævar Arnfjörð Bjarmason committed
Aug 31, 2018 at 20:09 UTC
253b3d4f57266449c4351e992263eb1cf615a0ae
1 file changed
+1
-1
t/t5516-fetch-push.sh
+1
-1
@@ -1009,7 +1009,7 @@ test_force_push_tag () {
1009
}
1010
1011
test_force_push_tag "lightweight tag" "-f"
1012
-test_force_push_tag "annotated tag" "-f -a -m'msg'"
1012
+test_force_push_tag "annotated tag" "-f -a -m'tag message'"
1013
1014
test_expect_success 'push --porcelain' '
1015
mk_empty testrepo &&