Skip to content

Commit 8c1cfd5

Browse files
tanayabhgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5fa0f52 commit 8c1cfd5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t1308-config-set.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,14 @@ test_expect_success 'find value with highest priority from a configset' '
166166
'
167167

168168
test_expect_success 'find value_list for a key from a configset' '
169-
cat >except <<-\EOF &&
169+
cat >expect <<-\EOF &&
170+
lama
171+
ball
170172
sam
171173
bat
172174
hask
173-
lama
174-
ball
175175
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 &&
177177
test_cmp expect actual
178178
'
179179

0 commit comments

Comments
 (0)