mirror of
https://github.com/git/git
synced 2024-10-28 19:25:47 +00:00
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>
This commit is contained in:
parent
b562a54c01
commit
cb46c40662
1 changed files with 4 additions and 2 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Reference in a new issue