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>

Tanay Abhra committed Oct 10, 2019 at 05:35 UTC 8c1cfd58e304e2d703d57e233b970b51bfbc7b9b
1 file changed +4 -4
t/t1308-config-set.sh
+4 -4
@@ -166,14 +166,14 @@ test_expect_success 'find value with highest priority from a configset' '
166 '
167
168 test_expect_success 'find value_list for a key from a configset' '
169 - cat >except <<-\EOF &&
169 + cat >expect <<-\EOF &&
170 + lama
171 + ball
172 sam
173 bat
174 hask
173 - lama
174 - ball
175 EOF
176 - test-tool config configset_get_value case.baz config2 .git/config >actual &&
176 + test-tool config configset_get_value_multi case.baz config2 .git/config >actual &&
177 test_cmp expect actual
178 '
179