From d19ce0ad8d68ed71fb24ae3287b847186d3a228e Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 8 Oct 2025 11:08:12 +0900 Subject: Add 'best' action --- test/test_raw.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/test_raw.rb') 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 -- cgit v1.2.3