diff options
Diffstat (limited to 'test/test_raw.rb')
| -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 |
