t1308: fix broken here document in test script
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Oct 13, 2014 at 15:25 UTC
dc05179b5a8a6dcc9a25de461d43fb5edfc93c46
1 file changed
+2
-2
t/t1308-config-set.sh
+2
-2
@@ -23,7 +23,7 @@ check_config () {
23
}
24
25
test_expect_success 'setup default config' '
26
- cat >.git/config <<\EOF
26
+ cat >.git/config <<-\EOF
27
[case]
28
penguin = very blue
29
Movie = BadPhysics
@@ -185,7 +185,7 @@ test_expect_success 'proper error on error in default config files' '
185
cp .git/config .git/config.old &&
186
test_when_finished "mv .git/config.old .git/config" &&
187
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 &&
189
test_expect_code 128 test-config get_value foo.bar 2>actual &&
190
test_cmp expect actual
191
'