Merge branch 'fc/completion-less-ls-remote'
[gitweb.git] / t / t9902-completion.sh
index 385e1e455ce6adb2886e393b8eb053879d539a52..81a1657efb18e88a448886aed60bb7e5fdb36212 100755 (executable)
@@ -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