diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-10-08 11:08:12 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-10-09 00:17:00 +0900 |
| commit | d19ce0ad8d68ed71fb24ae3287b847186d3a228e (patch) | |
| tree | 7bb59fdbb9a5d006edbdf2d9f7269855ecfe6b26 /test | |
| parent | ed7becfb4768245f8c76325d86276940df07472e (diff) | |
| download | fzf-d19ce0ad8d68ed71fb24ae3287b847186d3a228e.tar.gz | |
Add 'best' action
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_raw.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_raw.rb b/test/test_raw.rb index 63b62cc7..f063a90a 100644 --- a/test/test_raw.rb +++ b/test/test_raw.rb @@ -102,4 +102,12 @@ class TestRaw < TestInteractive assert_includes it, '▌ 25' end end + + def test_raw_best + tmux.send_keys %(seq 1000 | #{FZF} --raw --bind space:best), :Enter + tmux.send_keys 999 + tmux.until { assert_includes it, '> 1' } + tmux.send_keys :Space + tmux.until { assert_includes it, '> 999' } + end end |
