Skip to content

Commit 2581ad5

Browse files
committed
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent bdd478d commit 2581ad5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t6006-rev-list-format.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ touch foo && git add foo && git commit -m "added foo" &&
1111
'
1212

1313
# usage: test_format name format_string <expected_output
14-
test_format() {
14+
test_format () {
1515
cat >expect.$1
1616
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+
"
2020
}
2121

2222
test_format percent %%h <<'EOF'

0 commit comments

Comments
 (0)