summaryrefslogtreecommitdiff
path: root/t/t1308-config-set.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-10-13 15:25:38 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-10-13 15:25:42 -0700
commitdc05179b5a8a6dcc9a25de461d43fb5edfc93c46 (patch)
tree810d8e22a49c0e5f59d8758dc5b1ba4da86a8909 /t/t1308-config-set.sh
parenttest-config: add tests for the config_set API (diff)
downloadtgif-dc05179b5a8a6dcc9a25de461d43fb5edfc93c46.tar.xz
t1308: fix broken here document in test script
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1308-config-set.sh')
-rwxr-xr-xt/t1308-config-set.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t1308-config-set.sh b/t/t1308-config-set.sh
index 7fdf840b00..243d6120a2 100755
--- a/t/t1308-config-set.sh
+++ b/t/t1308-config-set.sh
@@ -23,7 +23,7 @@ check_config () {
}
test_expect_success 'setup default config' '
- cat >.git/config <<\EOF
+ cat >.git/config <<-\EOF
[case]
penguin = very blue
Movie = BadPhysics
@@ -185,7 +185,7 @@ test_expect_success 'proper error on error in default config files' '
cp .git/config .git/config.old &&
test_when_finished "mv .git/config.old .git/config" &&
echo "[" >>.git/config &&
- echo "fatal: bad config file line 35 in .git/config" >expect &&
+ echo "fatal: bad config file line 34 in .git/config" >expect &&
test_expect_code 128 test-config get_value foo.bar 2>actual &&
test_cmp expect actual
'