t6006: clean up whitespace
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>
Junio C Hamano committed
Dec 17, 2012 at 17:56 UTC
2581ad5e85f6443b0d2cf6898793662aec47ef10
1 file changed
+4
-4
t/t6006-rev-list-format.sh
+4
-4
@@ -11,12 +11,12 @@ touch foo && git add foo && git commit -m "added foo" &&
11
'
12
13
# usage: test_format name format_string <expected_output
14
-test_format() {
14
+test_format () {
15
cat >expect.$1
16
test_expect_success "format $1" "
17
-git rev-list --pretty=format:'$2' master >output.$1 &&
18
-test_cmp expect.$1 output.$1
19
-"
17
+ git rev-list --pretty=format:'$2' master >output.$1 &&
18
+ test_cmp expect.$1 output.$1
19
+ "
20
}
21
22
test_format percent %%h <<'EOF'