summaryrefslogtreecommitdiff
path: root/t/t4014-format-patch.sh
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-08-27 04:04:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-09-05 19:58:52 (GMT)
commitcb46c4066231879ea1c4b36c6c45d40446d7af09 (patch)
treeff68740a495f7054702c9da459c3813687aa577b /t/t4014-format-patch.sh
parentb562a54c011a3ef9966ec3d6ac5cfc3a3256f003 (diff)
downloadgit-cb46c4066231879ea1c4b36c6c45d40446d7af09.zip
git-cb46c4066231879ea1c4b36c6c45d40446d7af09.tar.gz
git-cb46c4066231879ea1c4b36c6c45d40446d7af09.tar.bz2
t4014: move closing sq onto its own line
The usual convention for test cases is for the closing sq to be on its own line. Move the sq onto its own line for cases that do not conform to this style. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4014-format-patch.sh')
-rwxr-xr-xt/t4014-format-patch.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh
index 62f5680..5e8eb6f 100755
--- a/t/t4014-format-patch.sh
+++ b/t/t4014-format-patch.sh
@@ -790,11 +790,13 @@ test_expect_success 'options no longer allowed for format-patch' '
test_must_fail git format-patch --name-status 2> output &&
test_i18ncmp expect.name-status output &&
test_must_fail git format-patch --check 2> output &&
- test_i18ncmp expect.check output'
+ test_i18ncmp expect.check output
+'
test_expect_success 'format-patch --numstat should produce a patch' '
git format-patch --numstat --stdout master..side > output &&
- test 5 = $(grep "^diff --git a/" output | wc -l)'
+ test 5 = $(grep "^diff --git a/" output | wc -l)
+'
test_expect_success 'format-patch -- <path>' '
git format-patch master..side -- file 2>error &&