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>
This commit is contained in:
parent
10c636a79a
commit
7022ba336d
@ -18,22 +18,21 @@ index 5f6a263..8cb8bae 100644
|
|||||||
EOF
|
EOF
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
test_expect_success \
|
test_expect_success "$test_description" '
|
||||||
"$test_description" \
|
printf "\nx\n" > f &&
|
||||||
'printf "\nx\n" > f &&
|
git add f &&
|
||||||
git add f &&
|
git commit -q -m. f &&
|
||||||
git commit -q -m. f &&
|
printf "\ny\n" > f &&
|
||||||
printf "\ny\n" > f &&
|
git config --bool diff.suppressBlankEmpty true &&
|
||||||
git config --bool diff.suppressBlankEmpty true &&
|
git diff f > actual &&
|
||||||
git diff f > actual &&
|
test_cmp exp actual &&
|
||||||
test_cmp exp actual &&
|
perl -i.bak -p -e "s/^\$/ /" exp &&
|
||||||
perl -i.bak -p -e "s/^\$/ /" exp &&
|
git config --bool diff.suppressBlankEmpty false &&
|
||||||
git config --bool diff.suppressBlankEmpty false &&
|
git diff f > actual &&
|
||||||
git diff f > actual &&
|
test_cmp exp actual &&
|
||||||
test_cmp exp actual &&
|
git config --bool --unset diff.suppressBlankEmpty &&
|
||||||
git config --bool --unset diff.suppressBlankEmpty &&
|
git diff f > actual &&
|
||||||
git diff f > actual &&
|
test_cmp exp actual
|
||||||
test_cmp exp actual
|
'
|
||||||
'
|
|
||||||
|
|
||||||
test_done
|
test_done
|
||||||
|
Loading…
Reference in New Issue
Block a user