diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2013-07-17 17:25:28 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-17 18:02:21 -0700 |
commit | e37f39c134c3621f26fdcdbc22a6b2e4e00de2e5 (patch) | |
tree | 7dd5ed147f1eccc4ae15b004658a82f5ea754253 /t/t8001-annotate.sh | |
parent | 3bf65f9e62d25089ca50eb348844d21cdbb53019 (diff) | |
download | git-e37f39c134c3621f26fdcdbc22a6b2e4e00de2e5.tar.gz git-e37f39c134c3621f26fdcdbc22a6b2e4e00de2e5.tar.xz |
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>
Diffstat (limited to 't/t8001-annotate.sh')
-rwxr-xr-x | t/t8001-annotate.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t8001-annotate.sh b/t/t8001-annotate.sh index 41962f04a..72176e42c 100755 --- a/t/t8001-annotate.sh +++ b/t/t8001-annotate.sh @@ -6,9 +6,9 @@ test_description='git annotate' PROG='git annotate' . "$TEST_DIRECTORY"/annotate-tests.sh -test_expect_success 'Annotating an old revision works' ' - git annotate file master >result && - awk "{ print \$3; }" <result >authors && +test_expect_success 'annotate old revision' ' + git annotate file master >actual && + awk "{ print \$3; }" <actual >authors && test 2 = $(grep A <authors | wc -l) && test 2 = $(grep B <authors | wc -l) ' |