t6006: clean up whitespace
authorJunio C Hamano <gitster@pobox.com>
Mon, 17 Dec 2012 22:56:23 +0000 (17:56 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Dec 2012 01:28:19 +0000 (17:28 -0800)
The test_format function did not indent its in-line test
script in an attempt to make the output of the test look
better. But it does not make a big difference to the output,
and the source looks quite ugly. Let's use our normal
indenting instead.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6006-rev-list-format.sh
index f94f0c48e6337f6bd718b4fc6859a52411e09326..c0c62c9da01973a754e83a0f6397caf44726f58d 100755 (executable)
@@ -11,12 +11,12 @@ touch foo && git add foo && git commit -m "added foo" &&
 '
 
 # usage: test_format name format_string <expected_output
-test_format() {
+test_format () {
        cat >expect.$1
        test_expect_success "format $1" "
-git rev-list --pretty=format:'$2' master >output.$1 &&
-test_cmp expect.$1 output.$1
-"
+               git rev-list --pretty=format:'$2' master >output.$1 &&
+               test_cmp expect.$1 output.$1
+       "
 }
 
 test_format percent %%h <<'EOF'