From: Felipe Contreras Date: Sat, 27 Apr 2013 20:10:00 +0000 (-0500) Subject: completion: document tilde expansion failure in tests X-Git-Tag: v1.8.4-rc0~242^2~7 X-Git-Url: http://git.bitbasher.net/?a=commitdiff_plain;h=f03efba4c0a7046ceb51ec4b57f7413fe6e931eb;p=git.git completion: document tilde expansion failure in tests Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- 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