t / t8002-blame.shon commit t: use test_expect_code instead of hand-rolled comparison (c21fc9d)
   1#!/bin/sh
   2
   3test_description='git blame'
   4. ./test-lib.sh
   5
   6PROG='git blame -c'
   7. "$TEST_DIRECTORY"/annotate-tests.sh
   8
   9PROG='git blame -c -e'
  10test_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
  22test_done