t4029: fix test indentation
We typically indent our tests with a single tab, partially so that we can take advantage of indented heredocs. Make this change and move the quote marks to be in the typical position for our tests. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
brian m. carlson committed
May 21, 2018 at 02:01 UTC
7022ba336d60be26c6008dcc6b11987677c133db
1 file changed
+16
-17
t/t4029-diff-trailing-space.sh
+16
-17
@@ -18,22 +18,21 @@ index 5f6a263..8cb8bae 100644
18
EOF
19
exit 1
20
21
-test_expect_success \
22
- "$test_description" \
23
- 'printf "\nx\n" > f &&
24
- git add f &&
25
- git commit -q -m. f &&
26
- printf "\ny\n" > f &&
27
- git config --bool diff.suppressBlankEmpty true &&
28
- git diff f > actual &&
29
- test_cmp exp actual &&
30
- perl -i.bak -p -e "s/^\$/ /" exp &&
31
- git config --bool diff.suppressBlankEmpty false &&
32
- git diff f > actual &&
33
- test_cmp exp actual &&
34
- git config --bool --unset diff.suppressBlankEmpty &&
35
- git diff f > actual &&
36
- test_cmp exp actual
37
- '
21
+test_expect_success "$test_description" '
22
+ printf "\nx\n" > f &&
23
+ git add f &&
24
+ git commit -q -m. f &&
25
+ printf "\ny\n" > f &&
26
+ git config --bool diff.suppressBlankEmpty true &&
27
+ git diff f > actual &&
28
+ test_cmp exp actual &&
29
+ perl -i.bak -p -e "s/^\$/ /" exp &&
30
+ git config --bool diff.suppressBlankEmpty false &&
31
+ git diff f > actual &&
32
+ test_cmp exp actual &&
33
+ git config --bool --unset diff.suppressBlankEmpty &&
34
+ git diff f > actual &&
35
+ test_cmp exp actual
36
+'
37
38
test_done