diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-04-27 15:10:00 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-27 14:32:28 -0700 |
commit | f03efba4c0a7046ceb51ec4b57f7413fe6e931eb (patch) | |
tree | e91b3812b22ef718786c7961948ad18db4e83ba8 /t/t9902-completion.sh | |
parent | ddf07bddef9aac37cf54ef744452f2a9ad4e312e (diff) | |
download | git-f03efba4c0a7046ceb51ec4b57f7413fe6e931eb.tar.gz |
completion: document tilde expansion failure in tests
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9902-completion.sh')
-rwxr-xr-x | t/t9902-completion.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh index 385e1e455c..81a1657efb 100755 --- a/t/t9902-completion.sh +++ b/t/t9902-completion.sh @@ -415,4 +415,13 @@ test_expect_success 'complete files' ' test_completion "git add mom" "momified" ' +test_expect_failure 'complete with tilde expansion' ' + git init tmp && cd tmp && + test_when_finished "cd .. && rm -rf tmp" && + + touch ~/tmp/file && + + test_completion "git add ~/tmp/" "~/tmp/file" +' + test_done |