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
|
||||
exit 1
|
||||
|
||||
test_expect_success \
|
||||
"$test_description" \
|
||||
'printf "\nx\n" > f &&
|
||||
git add f &&
|
||||
git commit -q -m. f &&
|
||||
printf "\ny\n" > f &&
|
||||
git config --bool diff.suppressBlankEmpty true &&
|
||||
git diff f > actual &&
|
||||
test_cmp exp actual &&
|
||||
perl -i.bak -p -e "s/^\$/ /" exp &&
|
||||
git config --bool diff.suppressBlankEmpty false &&
|
||||
git diff f > actual &&
|
||||
test_cmp exp actual &&
|
||||
git config --bool --unset diff.suppressBlankEmpty &&
|
||||
git diff f > actual &&
|
||||
test_cmp exp actual
|
||||
'
|
||||
test_expect_success "$test_description" '
|
||||
printf "\nx\n" > f &&
|
||||
git add f &&
|
||||
git commit -q -m. f &&
|
||||
printf "\ny\n" > f &&
|
||||
git config --bool diff.suppressBlankEmpty true &&
|
||||
git diff f > actual &&
|
||||
test_cmp exp actual &&
|
||||
perl -i.bak -p -e "s/^\$/ /" exp &&
|
||||
git config --bool diff.suppressBlankEmpty false &&
|
||||
git diff f > actual &&
|
||||
test_cmp exp actual &&
|
||||
git config --bool --unset diff.suppressBlankEmpty &&
|
||||
git diff f > actual &&
|
||||
test_cmp exp actual
|
||||
'
|
||||
|
||||
test_done
|
||||
|
Loading…
Reference in New Issue
Block a user