diff options
author | Andrei Rybak <rybak.a.v@gmail.com> | 2020-03-22 22:14:22 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-03-22 16:41:05 -0700 |
commit | 64d1022e14cafa211f84aab9e1a9f7aab8164855 (patch) | |
tree | 8f681d1c99a8a9e088fb70cb1ea2bc6f15085cc6 /t/t2402-worktree-list.sh | |
parent | t9500: remove spaces after redirect operators (diff) | |
download | tgif-64d1022e14cafa211f84aab9e1a9f7aab8164855.tar.xz |
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/t2402-worktree-list.sh')
-rwxr-xr-x | t/t2402-worktree-list.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2402-worktree-list.sh b/t/t2402-worktree-list.sh index 69ffe865b4..52585ec2aa 100755 --- a/t/t2402-worktree-list.sh +++ b/t/t2402-worktree-list.sh @@ -152,7 +152,7 @@ test_expect_success 'linked worktrees are sorted' ' ' test_expect_success 'worktree path when called in .git directory' ' - git worktree list >list1&& + git worktree list >list1 && git -C .git worktree list >list2 && test_cmp list1 list2 ' |