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:
Junio C Hamano 2024-04-02 11:41:03 -07:00
Родитель c2cbfbd2e2
Коммит 40c45f809f
1 изменённых файлов: 16 добавлений и 16 удалений

Просмотреть файл

@ -17,21 +17,21 @@ test_set_index_version () {
test_set_index_version 3
cat >expect.full <<EOF
H 1
H 2
H sub/1
H sub/2
EOF
cat >expect.skip <<EOF
S 1
H 2
S sub/1
H sub/2
EOF
test_expect_success 'setup' '
cat >expect.full <<-\EOF &&
H 1
H 2
H sub/1
H sub/2
EOF
cat >expect.skip <<-\EOF &&
S 1
H 2
S sub/1
H sub/2
EOF
mkdir sub &&
touch ./1 ./2 sub/1 sub/2 &&
git add 1 2 sub/1 sub/2 &&