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>

Felipe Contreras committed Apr 27, 2013 at 15:10 UTC f03efba4c0a7046ceb51ec4b57f7413fe6e931eb
1 file changed +9
t/t9902-completion.sh
+9
@@ -415,4 +415,13 @@ test_expect_success 'complete files' '
415 test_completion "git add mom" "momified"
416 '
417
418 +test_expect_failure 'complete with tilde expansion' '
419 + git init tmp && cd tmp &&
420 + test_when_finished "cd .. && rm -rf tmp" &&
421 +
422 + touch ~/tmp/file &&
423 +
424 + test_completion "git add ~/tmp/" "~/tmp/file"
425 +'
426 +
427 test_done