summaryrefslogtreecommitdiff
path: root/t/t3700-add.sh
diff options
context:
space:
mode:
authorAndrei Rybak <rybak.a.v@gmail.com>2020-03-22 21:14:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-03-22 23:41:05 (GMT)
commit64d1022e14cafa211f84aab9e1a9f7aab8164855 (patch)
tree8f681d1c99a8a9e088fb70cb1ea2bc6f15085cc6 /t/t3700-add.sh
parent9b966fffc26d378cc11bd3e924f979403ab174dc (diff)
downloadgit-64d1022e14cafa211f84aab9e1a9f7aab8164855.zip
git-64d1022e14cafa211f84aab9e1a9f7aab8164855.tar.gz
git-64d1022e14cafa211f84aab9e1a9f7aab8164855.tar.bz2
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/t3700-add.sh')
-rwxr-xr-xt/t3700-add.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3700-add.sh b/t/t3700-add.sh
index 88bc7998..b7d4ba6 100755
--- a/t/t3700-add.sh
+++ b/t/t3700-add.sh
@@ -192,7 +192,7 @@ test_expect_success 'git add --refresh with pathspec' '
test_must_be_empty actual &&
git diff-files --name-only >actual &&
- ! grep bar actual&&
+ ! grep bar actual &&
grep baz actual
'