]> git.ipfire.org Git - thirdparty/git.git/blob - t/t8002-blame.sh
t: use test_expect_code instead of hand-rolled comparison
[thirdparty/git.git] / t / t8002-blame.sh
1 #!/bin/sh
2
3 test_description='git blame'
4 . ./test-lib.sh
5
6 PROG='git blame -c'
7 . "$TEST_DIRECTORY"/annotate-tests.sh
8
9 PROG='git blame -c -e'
10 test_expect_success 'blame --show-email' '
11 check_count \
12 "<A@test.git>" 1 \
13 "<B@test.git>" 1 \
14 "<B1@test.git>" 1 \
15 "<B2@test.git>" 1 \
16 "<author@example.com>" 1 \
17 "<C@test.git>" 1 \
18 "<D@test.git>" 1 \
19 "<E at test dot git>" 1
20 '
21
22 test_done