mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-28 15:56:27 +00:00
Fix rubocop warning
This commit is contained in:
parent
e9e0011f1d
commit
8689f5f230
@ -3358,7 +3358,7 @@ class TestGoFZF < TestBase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_start_on_reload
|
def test_start_on_reload
|
||||||
tmux.send_keys %[echo foo | #{FZF} --header Loading --header-lines 1 --bind 'start:reload:sleep 2; echo bar' --bind 'load:change-header:Loaded'], :Enter
|
tmux.send_keys %(echo foo | #{FZF} --header Loading --header-lines 1 --bind 'start:reload:sleep 2; echo bar' --bind 'load:change-header:Loaded'), :Enter
|
||||||
tmux.until(timeout: 1) { |lines| assert_includes lines[-3], 'Loading' }
|
tmux.until(timeout: 1) { |lines| assert_includes lines[-3], 'Loading' }
|
||||||
tmux.until(timeout: 1) { |lines| refute_includes lines[-4], 'foo' }
|
tmux.until(timeout: 1) { |lines| refute_includes lines[-4], 'foo' }
|
||||||
tmux.until { |lines| assert_includes lines[-3], 'Loaded' }
|
tmux.until { |lines| assert_includes lines[-3], 'Loaded' }
|
||||||
|
Loading…
Reference in New Issue
Block a user