Thread (48 messages) flat view 48 messages, 1 author, 2021-01-01
STALE2053d

[PATCH 27/47] test: completion: add missing test

From: Felipe Contreras <hidden>
Date: 2021-01-01 02:17:27
Subsystem: the rest · Maintainer: Linus Torvalds

Once the correct suffix in __git_complete_config_variable_name() is set,
we can add the test again.

Signed-off-by: Felipe Contreras <redacted>
---
 t/t9902-completion.sh | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh
index f6c60c609a..e1a9e9483c 100755
--- a/t/t9902-completion.sh
+++ b/t/t9902-completion.sh
@@ -2312,6 +2312,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.30.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help