From e37f39c134c3621f26fdcdbc22a6b2e4e00de2e5 Mon Sep 17 00:00:00 2001 From: Eric Sunshine Date: Wed, 17 Jul 2013 17:25:28 -0400 Subject: 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 Signed-off-by: Junio C Hamano --- t/t8001-annotate.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 't/t8001-annotate.sh') 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; }" authors && +test_expect_success 'annotate old revision' ' + git annotate file master >actual && + awk "{ print \$3; }" authors && test 2 = $(grep A