diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2017-03-03 02:26:30 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-03-03 02:26:30 +0900 |
commit | cb9238dc4ee6ee8c9d25fa0c1f6d731b379de9b1 (patch) | |
tree | 08d50bd8d85dd46e9df6d56e7fbedcf396724faf /test | |
parent | a484811f78c9462b2480e33b9f44ad2fae2f4955 (diff) |
Display -S if sort is disabled and toggle-sort is used
This is to address a common confusion that one does not realize that
sorting is intentionally turned off by default and can be enabled by
a bind key.
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 582b10b2..04703757 100644 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -513,11 +513,11 @@ class TestGoFZF < TestBase tmux.send_keys "seq 1 111 | #{fzf "-m +s --tac #{opt} -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 -S (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/S (2)' } + tmux.until { |lines| lines[-2].include? '4/111 +S (2)' } tmux.send_keys :Enter assert_equal ['111', '11'], readonce.split($/) end |