diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-04-16 22:39:51 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-04-16 22:39:51 +0900 |
commit | cc67d2e1cfd6bea9c09dec0816e9ca700aa87a14 (patch) | |
tree | 634d538455f9507fbf4ba05bce9d941294f49041 /test | |
parent | f77ed0fb07f59cc5972a7377da1dd44751dece32 (diff) |
Test case for visual indicator of --toggle sort (#194)
Diffstat (limited to 'test')
-rw-r--r-- | test/test_go.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_go.rb b/test/test_go.rb index abf0496e..3a9f1fdc 100644 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -465,11 +465,11 @@ class TestGoFZF < TestBase tmux.send_keys "seq 1 111 | #{fzf '-m +s --tac --toggle-sort=ctrl-r -q11'}", :Enter tmux.until { |lines| lines[-3].include? '> 111' } 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.until { |lines| lines[-3].include? '> 11' } 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 assert_equal ['111', '11'], readonce.split($/) end |