complete: replace confusing comment with test case

This commit is contained in:
Johannes Altmanninger
2020-01-08 17:53:46 +01:00
parent 75fa3b6bae
commit 9a355d5482
2 changed files with 9 additions and 6 deletions

View File

@@ -153,3 +153,11 @@ complete -C'function : --arg'
complete -C'echo > /' | string length -q && echo ok
# CHECK: ok
function some_function
echo line1
echo line2
end
complete -c complete_test_function_desc -xa '(complete -Csome_function)'
complete -C'complete_test_function_desc ' | count
# CHECK: 1