summaryrefslogtreecommitdiff
path: root/t/t9902-completion.sh
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2013-04-27 20:10:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-27 21:32:28 (GMT)
commitf03efba4c0a7046ceb51ec4b57f7413fe6e931eb (patch)
treee91b3812b22ef718786c7961948ad18db4e83ba8 /t/t9902-completion.sh
parentddf07bddef9aac37cf54ef744452f2a9ad4e312e (diff)
downloadgit-f03efba4c0a7046ceb51ec4b57f7413fe6e931eb.zip
git-f03efba4c0a7046ceb51ec4b57f7413fe6e931eb.tar.gz
git-f03efba4c0a7046ceb51ec4b57f7413fe6e931eb.tar.bz2
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-xt/t9902-completion.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh
index 385e1e4..81a1657 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