Fix rubocop warning

This commit is contained in:
Junegunn Choi 2024-06-24 17:16:56 +09:00
parent e9e0011f1d
commit 8689f5f230
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -3358,7 +3358,7 @@ class TestGoFZF < TestBase
end
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| refute_includes lines[-4], 'foo' }
tmux.until { |lines| assert_includes lines[-3], 'Loaded' }