Fix test case for invalid FZF_DEFAULT_COMMAND

This commit is contained in:
Junegunn Choi 2017-12-01 02:22:36 +09:00
parent 85a75ee035
commit 9615c4edf1
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -277,7 +277,7 @@ class TestGoFZF < TestBase
def test_fzf_default_command_failure def test_fzf_default_command_failure
tmux.send_keys fzf.sub('FZF_DEFAULT_COMMAND=', 'FZF_DEFAULT_COMMAND=false'), :Enter tmux.send_keys fzf.sub('FZF_DEFAULT_COMMAND=', 'FZF_DEFAULT_COMMAND=false'), :Enter
tmux.until { |lines| lines[-2].include?('ERROR') } tmux.until { |lines| lines[-2].include?('FZF_DEFAULT_COMMAND failed') }
tmux.send_keys :Enter tmux.send_keys :Enter
end end