My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddf07bd
)
completion: document tilde expansion failure in tests
author
Felipe Contreras
<felipe.contreras@gmail.com>
Sat, 27 Apr 2013 20:10:00 +0000
(15:10 -0500)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 27 Apr 2013 21:32:28 +0000
(14:32 -0700)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9902-completion.sh
patch
|
blob
|
history
diff --git
a/t/t9902-completion.sh
b/t/t9902-completion.sh
index
385e1e4
..
81a1657
100755
(executable)
--- 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