diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-01-09 23:32:55 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-01-09 23:32:55 +0100 |
commit | d702d5c5bd675d203a2ced2786bf82ef96b4ed2b (patch) | |
tree | d96486724b84eaeb2eab7c7b3ed2c7b7f72d5700 /t/t7500-commit.sh | |
parent | Merge branch 'bc/submitting-patches-in-asciidoc' (diff) | |
parent | t0302 & t3900: add forgotten quotes (diff) | |
download | git-d702d5c5bd675d203a2ced2786bf82ef96b4ed2b.tar.xz git-d702d5c5bd675d203a2ced2786bf82ef96b4ed2b.zip |
Merge branch 'js/test-with-ws-in-path'
Test fixes.
* js/test-with-ws-in-path:
t0302 & t3900: add forgotten quotes
Allow the test suite to pass in a directory whose name contains spaces
Diffstat (limited to 't/t7500-commit.sh')
-rwxr-xr-x | t/t7500-commit.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7500-commit.sh b/t/t7500-commit.sh index 5739d3ed23..1d33c5feb3 100755 --- a/t/t7500-commit.sh +++ b/t/t7500-commit.sh @@ -130,8 +130,8 @@ EOF test_expect_success 'commit message from template with whitespace issue' ' echo "content galore" >>foo && git add foo && - GIT_EDITOR="$TEST_DIRECTORY"/t7500/add-whitespaced-content git commit \ - --template "$TEMPLATE" && + GIT_EDITOR=\""$TEST_DIRECTORY"\"/t7500/add-whitespaced-content \ + git commit --template "$TEMPLATE" && commit_msg_is "commit message" ' |