[PATCH v2 30/45] test: completion: add missing test
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Jun 18, 2021, 18:25 UTC
- Message-ID
- <20210618182518.697912-31-felipe.contreras@gmail.com>
- In-Reply-To
- <20210618182518.697912-1-felipe.contreras@gmail.com>
Once the correct suffix in __git_complete_config_variable_name() is set, we can add the test again.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> --- t/t9902-completion.sh | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh index bb3eebffb7..9803878480 100755 --- a/t/t9902-completion.sh +++ b/t/t9902-completion.sh @@ -2335,6 +2335,13 @@ test_expect_success 'git config - value' ' EOF ' +test_expect_success 'git config - direct completions' ' + test_completion "git config branch.autoSetup" <<-\EOF + branch.autoSetupMerge Z + branch.autoSetupRebase Z + EOF +' + test_expect_success 'git -c - section' ' test_completion "git -c br" <<-\EOF branch.Z
-- 2.32.0