mirror of
https://github.com/git/git.git
synced 2024-09-22 04:20:47 +02:00
t2104: style fixes
We use tabs to indent, not two or four spaces. These days, even the test fixture preparation should be done inside test_expect_success block. Address these two style violations in this test. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
3c2a3fdc38
commit
8d320cec60
@ -17,21 +17,21 @@ test_set_index_version () {
|
|||||||
|
|
||||||
test_set_index_version 3
|
test_set_index_version 3
|
||||||
|
|
||||||
cat >expect.full <<EOF
|
test_expect_success 'setup' '
|
||||||
|
cat >expect.full <<-\EOF &&
|
||||||
H 1
|
H 1
|
||||||
H 2
|
H 2
|
||||||
H sub/1
|
H sub/1
|
||||||
H sub/2
|
H sub/2
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat >expect.skip <<EOF
|
cat >expect.skip <<-\EOF &&
|
||||||
S 1
|
S 1
|
||||||
H 2
|
H 2
|
||||||
S sub/1
|
S sub/1
|
||||||
H sub/2
|
H sub/2
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
test_expect_success 'setup' '
|
|
||||||
mkdir sub &&
|
mkdir sub &&
|
||||||
touch ./1 ./2 sub/1 sub/2 &&
|
touch ./1 ./2 sub/1 sub/2 &&
|
||||||
git add 1 2 sub/1 sub/2 &&
|
git add 1 2 sub/1 sub/2 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user