summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Tanay Abhra <tanayabh@gmail.com>2019-10-10 05:35:34 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-10-11 14:35:31 +0900
commit8c1cfd58e304e2d703d57e233b970b51bfbc7b9b (patch)
tree82d3c7cc501635b885268de8a73af9f1c6a94d8f
parentGit 2.23 (diff)
downloadtgif-8c1cfd58e304e2d703d57e233b970b51bfbc7b9b.tar.xz
t1308-config-set: fix a test that has a typo
Change test 'find value_list for a key from a configset' to redirect the result to 'expect' instead of 'except' which was a typo. With this change, the test case actually fails because it uses `configset_get_value`. Clearly, this was intended to be `configset_get_value_multi` since the test expects a list of values instead of a single value, so let's fix that, too. Signed-off-by: Tanay Abhra <tanayabh@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t1308-config-set.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t1308-config-set.sh b/t/t1308-config-set.sh
index d0a2727b85..7b4e1a63eb 100755
--- a/t/t1308-config-set.sh
+++ b/t/t1308-config-set.sh
@@ -166,14 +166,14 @@ test_expect_success 'find value with highest priority from a configset' '
'
test_expect_success 'find value_list for a key from a configset' '
- cat >except <<-\EOF &&
+ cat >expect <<-\EOF &&
+ lama
+ ball
sam
bat
hask
- lama
- ball
EOF
- test-tool config configset_get_value case.baz config2 .git/config >actual &&
+ test-tool config configset_get_value_multi case.baz config2 .git/config >actual &&
test_cmp expect actual
'