summaryrefslogtreecommitdiff
path: root/t/t8001-annotate.sh
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2013-07-17 17:25:28 -0400
committerJunio C Hamano <gitster@pobox.com>2013-07-17 18:02:21 -0700
commite37f39c134c3621f26fdcdbc22a6b2e4e00de2e5 (patch)
tree7dd5ed147f1eccc4ae15b004658a82f5ea754253 /t/t8001-annotate.sh
parent3bf65f9e62d25089ca50eb348844d21cdbb53019 (diff)
downloadgit-e37f39c134c3621f26fdcdbc22a6b2e4e00de2e5.tar.gz
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-xt/t8001-annotate.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t8001-annotate.sh b/t/t8001-annotate.sh
index 41962f04a7..72176e42c1 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)
'