summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-02-09 13:52:20 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-02-09 13:52:20 +0900
commita2420026ab434fc413f62ab46e0060e7c515a0d7 (patch)
treec31bc49d3002651eeddc9c17177db85a67f058c0 /test
parent1be1991299b6a5d9d8407b8c9b84f8da1da3c15a (diff)
downloadfzf-a2420026ab434fc413f62ab46e0060e7c515a0d7.tar.gz
Rename actions: exclude and exclude-multi
https://github.com/junegunn/fzf/pull/4231#issuecomment-2646067669
Diffstat (limited to 'test')
-rw-r--r--test/test_core.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_core.rb b/test/test_core.rb
index 231b5950..0d7f68f5 100644
--- a/test/test_core.rb
+++ b/test/test_core.rb
@@ -1666,8 +1666,8 @@ class TestCore < TestInteractive
end
end
- def test_exclude
- tmux.send_keys %(seq 1000 | #{FZF} --multi --bind 'a:exclude,b:reload(seq 1000),c:reload-sync(seq 1000)'), :Enter
+ def test_exclude_multi
+ tmux.send_keys %(seq 1000 | #{FZF} --multi --bind 'a:exclude-multi,b:reload(seq 1000),c:reload-sync(seq 1000)'), :Enter
tmux.until do |lines|
assert_equal 1000, lines.match_count
@@ -1702,8 +1702,8 @@ class TestCore < TestInteractive
# TODO: We should also check the behavior of 'exclude' during reloads
end
- def test_exclude_current
- tmux.send_keys %(seq 1000 | #{FZF} --multi --bind 'a:exclude-current,b:reload(seq 1000),c:reload-sync(seq 1000)'), :Enter
+ def test_exclude
+ tmux.send_keys %(seq 1000 | #{FZF} --multi --bind 'a:exclude,b:reload(seq 1000),c:reload-sync(seq 1000)'), :Enter
tmux.until do |lines|
assert_equal 1000, lines.match_count