t8001/t8002 (blame): modernize style
In particular, - indent with tabs - cuddle test description and opening body quote with test_expect_foo - normalize test descriptions and case - remove whitepsace following redirection operator - use standardized filenames (such as "actual", "expected") Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
3bf65f9e62
commit
e37f39c134
@ -7,8 +7,16 @@ PROG='git blame -c'
|
||||
. "$TEST_DIRECTORY"/annotate-tests.sh
|
||||
|
||||
PROG='git blame -c -e'
|
||||
test_expect_success 'Blame --show-email works' '
|
||||
check_count "<A@test.git>" 1 "<B@test.git>" 1 "<B1@test.git>" 1 "<B2@test.git>" 1 "<author@example.com>" 1 "<C@test.git>" 1 "<D@test.git>" 1 "<E at test dot git>" 1
|
||||
test_expect_success 'blame --show-email' '
|
||||
check_count \
|
||||
"<A@test.git>" 1 \
|
||||
"<B@test.git>" 1 \
|
||||
"<B1@test.git>" 1 \
|
||||
"<B2@test.git>" 1 \
|
||||
"<author@example.com>" 1 \
|
||||
"<C@test.git>" 1 \
|
||||
"<D@test.git>" 1 \
|
||||
"<E at test dot git>" 1
|
||||
'
|
||||
|
||||
test_done
|
||||
|
Reference in New Issue
Block a user