diff options
| author | Junio C Hamano <gitster@pobox.com> | 2018-01-09 14:32:55 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-01-09 14:32:55 -0800 |
| commit | d702d5c5bd675d203a2ced2786bf82ef96b4ed2b (patch) | |
| tree | d96486724b84eaeb2eab7c7b3ed2c7b7f72d5700 /t/t7500-commit.sh | |
| parent | e6932248fcb41fb94a0be484050881e03c7eb298 (diff) | |
| parent | 89a70b80ebabd237bb407f9321f24677f4f1d16d (diff) | |
| download | git-d702d5c5bd675d203a2ced2786bf82ef96b4ed2b.tar.gz | |
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" ' |
