mirror of
https://github.com/junegunn/fzf.git
synced 2024-11-09 20:33:31 +03:00
Fix test case for invalid FZF_DEFAULT_COMMAND
This commit is contained in:
parent
85a75ee035
commit
9615c4edf1
@ -277,7 +277,7 @@ class TestGoFZF < TestBase
|
||||
|
||||
def test_fzf_default_command_failure
|
||||
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
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user