Skip to content
Myr

Test case for visual indicator of --toggle sort (#194)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent f77ed0f · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • tests:+2 added−2 removed

1 file+2 added−2 removed

modified:test/test_go.rb+2 added-2 removed
463 unmodified lines
464 def test_toggle_sort465 tmux.send_keys "seq 1 111 | #{fzf '-m +s --tac --toggle-sort=ctrl-r -q11'}", :Enter466 tmux.until { |lines| lines[-3].include? '> 111' }467 tmux.send_keys :Tab468 tmux.until { |lines| lines[-2].include? '4/111 (1)' }468 tmux.until { |lines| lines[-2].include? '4/111 (1)' }469 tmux.send_keys 'C-R'470 tmux.until { |lines| lines[-3].include? '> 11' }471 tmux.send_keys :Tab472 tmux.until { |lines| lines[-2].include? '4/111 (2)' }472 tmux.until { |lines| lines[-2].include? '4/111/S (2)' }473 tmux.send_keys :Enter474 assert_equal ['111', '11'], readonce.split($/)475 end476
221 unmodified lines