diff options
author | Andrei Rybak <rybak.a.v@gmail.com> | 2020-03-23 00:14:22 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-03-23 02:41:05 +0300 |
commit | 64d1022e14cafa211f84aab9e1a9f7aab8164855 (patch) | |
tree | 8f681d1c99a8a9e088fb70cb1ea2bc6f15085cc6 /t/t3701-add-interactive.sh | |
parent | 9b966fffc26d378cc11bd3e924f979403ab174dc (diff) |
t: fix whitespace around &&
Add missing spaces before '&&' and switch tabs around '&&' to spaces.
Also fix the space after redirection operator in t3701 while we're here.
These issues were found using `git grep '[^ ]&&$'` and
`git grep -P '&&\t' t/`.
Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3701-add-interactive.sh')
-rwxr-xr-x | t/t3701-add-interactive.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3701-add-interactive.sh b/t/t3701-add-interactive.sh index 5bae6e50f1..b3d8bb7577 100755 --- a/t/t3701-add-interactive.sh +++ b/t/t3701-add-interactive.sh @@ -780,7 +780,7 @@ test_expect_success 'add -p patch editing works with pathological context lines' test_expect_success 'checkout -p works with pathological context lines' ' test_write_lines a a a a a a >a && git add a && - test_write_lines a b a b a b a b a b a > a&& + test_write_lines a b a b a b a b a b a >a && test_write_lines s n n y q | git checkout -p && test_write_lines a b a b a a b a b a >expect && test_cmp expect a |