Skip to content

Commit dc05179

Browse files
committed
t1308: fix broken here document in test script
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4c715eb commit dc05179

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t1308-config-set.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ check_config () {
2323
}
2424

2525
test_expect_success 'setup default config' '
26-
cat >.git/config <<\EOF
26+
cat >.git/config <<-\EOF
2727
[case]
2828
penguin = very blue
2929
Movie = BadPhysics
@@ -185,7 +185,7 @@ test_expect_success 'proper error on error in default config files' '
185185
cp .git/config .git/config.old &&
186186
test_when_finished "mv .git/config.old .git/config" &&
187187
echo "[" >>.git/config &&
188-
echo "fatal: bad config file line 35 in .git/config" >expect &&
188+
echo "fatal: bad config file line 34 in .git/config" >expect &&
189189
test_expect_code 128 test-config get_value foo.bar 2>actual &&
190190
test_cmp expect actual
191191
'

0 commit comments

Comments
 (0)