t3700-add: modernize test format
Some tests still use the old format with four spaces indentation. Standardize the tests to the new format with tab indentation. Signed-off-by: John Cai <johncai86@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
0a6cb5c42f
commit
0aa0266c4b
|
@ -24,17 +24,17 @@ test_mode_in_index () {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
test_expect_success \
|
test_expect_success 'Test of git add' '
|
||||||
'Test of git add' \
|
touch foo && git add foo
|
||||||
'touch foo && git add foo'
|
'
|
||||||
|
|
||||||
test_expect_success \
|
test_expect_success 'Post-check that foo is in the index' '
|
||||||
'Post-check that foo is in the index' \
|
git ls-files foo | grep foo
|
||||||
'git ls-files foo | grep foo'
|
'
|
||||||
|
|
||||||
test_expect_success \
|
test_expect_success 'Test that "git add -- -q" works' '
|
||||||
'Test that "git add -- -q" works' \
|
touch -- -q && git add -- -q
|
||||||
'touch -- -q && git add -- -q'
|
'
|
||||||
|
|
||||||
BATCH_CONFIGURATION='-c core.fsync=loose-object -c core.fsyncmethod=batch'
|
BATCH_CONFIGURATION='-c core.fsync=loose-object -c core.fsyncmethod=batch'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue