mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 21:05:09 +00:00
Test case for visual indicator of --toggle sort (#194)
This commit is contained in:
parent
f77ed0fb07
commit
cc67d2e1cf
@ -465,11 +465,11 @@ class TestGoFZF < TestBase
|
|||||||
tmux.send_keys "seq 1 111 | #{fzf '-m +s --tac --toggle-sort=ctrl-r -q11'}", :Enter
|
tmux.send_keys "seq 1 111 | #{fzf '-m +s --tac --toggle-sort=ctrl-r -q11'}", :Enter
|
||||||
tmux.until { |lines| lines[-3].include? '> 111' }
|
tmux.until { |lines| lines[-3].include? '> 111' }
|
||||||
tmux.send_keys :Tab
|
tmux.send_keys :Tab
|
||||||
tmux.until { |lines| lines[-2].include? '4/111 (1)' }
|
tmux.until { |lines| lines[-2].include? '4/111 (1)' }
|
||||||
tmux.send_keys 'C-R'
|
tmux.send_keys 'C-R'
|
||||||
tmux.until { |lines| lines[-3].include? '> 11' }
|
tmux.until { |lines| lines[-3].include? '> 11' }
|
||||||
tmux.send_keys :Tab
|
tmux.send_keys :Tab
|
||||||
tmux.until { |lines| lines[-2].include? '4/111 (2)' }
|
tmux.until { |lines| lines[-2].include? '4/111/S (2)' }
|
||||||
tmux.send_keys :Enter
|
tmux.send_keys :Enter
|
||||||
assert_equal ['111', '11'], readonce.split($/)
|
assert_equal ['111', '11'], readonce.split($/)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user