summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-12-29 13:02:16 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-12-29 13:02:16 +0900
commit661d06c90aec18d9a84c60ceda943a437b93a1d9 (patch)
tree1a8a7545ac83f6bff74076464d9b37c7bd362e01
parenta9aa263d3a8cffd77f8eab8dabfe841d6318611f (diff)
Add regression test case for #458
-rw-r--r--test/test_go.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_go.rb b/test/test_go.rb
index c938921d..fcf43401 100644
--- a/test/test_go.rb
+++ b/test/test_go.rb
@@ -1129,6 +1129,12 @@ module CompletionTest
end
end
+ def test_file_completion_root
+ tmux.send_keys 'ls /**', :Tab, pane: 0
+ tmux.until(1) { |lines| lines.item_count > 0 }
+ tmux.send_keys :Enter
+ end
+
def test_dir_completion
tmux.send_keys 'mkdir -p /tmp/fzf-test/d{1..100}; touch /tmp/fzf-test/d55/xxx', :Enter
tmux.prepare