class TestZsh
Public Instance Methods
new_shell()
click to toggle source
# File lib/helpers/fzf/test/test_go.rb, line 2532 def new_shell tmux.send_keys "FZF_TMUX=1 #{Shell.zsh}", :Enter tmux.prepare end
shell()
click to toggle source
# File lib/helpers/fzf/test/test_go.rb, line 2528 def shell :zsh end
test_complete_quoted_command()
click to toggle source
# File lib/helpers/fzf/test/test_go.rb, line 2537 def test_complete_quoted_command tmux.send_keys 'export FZFFOOBAR=BAZ', :Enter ['unset', '\unset', "'unset'"].each do |command| tmux.prepare tmux.send_keys "#{command} FZFFOOBR**", :Tab tmux.until { |lines| assert_equal 1, lines.match_count } tmux.send_keys :Enter tmux.until { |lines| assert_equal "#{command} FZFFOOBAR", lines[-1] } tmux.send_keys 'C-c' end end