From 7d2a9c916370c7a430e8c18bd79bbd589640b032 Mon Sep 17 00:00:00 2001 From: Tanay Abhra Date: Fri, 12 Jan 2018 21:18:31 -0500 Subject: [PATCH] t1308-config-set: fix a test that has a typo Change test 'find value_list for a key from a configset' to compare result with 'expect' instead of 'except' which was a typo. Change the test call from 'configset_get_value' to 'configset_get_value_multi' since the test expects a list of values instead of a single value. Signed-off-by: Tanay Abhra --- t/t1308-config-set.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/t/t1308-config-set.sh b/t/t1308-config-set.sh index bafed5c9b88481..05e2d2c0cf6ad2 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-config configset_get_value case.baz config2 .git/config >actual && + test-config configset_get_value_multi case.baz config2 .git/config >actual && test_cmp expect actual '