diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/t9902-completion.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh index bf60a11fa8..9e90a64830 100755 --- a/t/t9902-completion.sh +++ b/t/t9902-completion.sh @@ -1733,6 +1733,13 @@ test_expect_success 'git -c - variable name' ' EOF ' +test_expect_success 'git -c - value' ' + test_completion "git -c color.pager=" <<-\EOF + false Z + true Z + EOF +' + test_expect_success 'sourcing the completion script clears cached commands' ' __git_compute_all_commands && verbose test -n "$__git_all_commands" && |