From 661d06c90aec18d9a84c60ceda943a437b93a1d9 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 29 Dec 2015 13:02:16 +0900 Subject: [PATCH] Add regression test case for #458 --- test/test_go.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_go.rb b/test/test_go.rb index c938921..fcf4340 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