t6024: move "git reset" to prepare for a test inside the test itself

Noticed by Mike Hommey.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2008-03-01 01:10:12 -08:00
Родитель a0c14cbb2e
Коммит c3b088d9da
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -81,8 +81,8 @@ EOF
test_expect_success "virtual trees were processed" "git diff expect out"
git reset --hard
test_expect_success 'refuse to merge binary files' '
git reset --hard &&
printf "\0" > binary-file &&
git add binary-file &&
git commit -m binary &&