Skip to content

Commit 713ee7f

Browse files
committed
Merge branch 'ta/config-set'
* ta/config-set: t1308: fix broken here document in test script
2 parents f9a2fd3 + dc05179 commit 713ee7f

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
@@ -195,7 +195,7 @@ test_expect_success 'proper error on error in default config files' '
195195
cp .git/config .git/config.old &&
196196
test_when_finished "mv .git/config.old .git/config" &&
197197
echo "[" >>.git/config &&
198-
echo "fatal: bad config file line 35 in .git/config" >expect &&
198+
echo "fatal: bad config file line 34 in .git/config" >expect &&
199199
test_expect_code 128 test-config get_value foo.bar 2>actual &&
200200
test_cmp expect actual
201201
'

0 commit comments

Comments
 (0)