summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-06-19 12:39:31 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-06-19 12:39:31 +0900
commit16d338da84dda718935c46cbbc54c8c3be9e21a2 (patch)
treecf88b197ec03c17e15d3eb8abcd3da09a77ca37a /test
parent27258f720723d5de32d483fb6b9ff39608ff9cf9 (diff)
downloadfzf-16d338da84dda718935c46cbbc54c8c3be9e21a2.tar.gz
Revert "Add {*} placeholder flag"
This reverts commit 27258f720723d5de32d483fb6b9ff39608ff9cf9.
Diffstat (limited to 'test')
-rw-r--r--test/test_preview.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/test_preview.rb b/test/test_preview.rb
index e2147735..576e36ec 100644
--- a/test/test_preview.rb
+++ b/test/test_preview.rb
@@ -189,16 +189,6 @@ class TestPreview < TestInteractive
tmux.until { |lines| assert_includes lines[1], ' {//1 10/1 10 /123//0 9} ' }
end
- def test_preview_asterisk
- tmux.send_keys %(seq 5 | #{FZF} --multi --preview 'echo {} / {+} / {*}'), :Enter
- tmux.until { |lines| assert_equal 5, lines.match_count }
- tmux.until { |lines| assert_includes lines[1], ' 1 / 1 / 1 2 3 4 5 ' }
- tmux.send_keys :BTab
- tmux.until { |lines| assert_includes lines[1], ' 2 / 1 / 1 2 3 4 5 ' }
- tmux.send_keys :BTab
- tmux.until { |lines| assert_includes lines[1], ' 3 / 1 2 / 1 2 3 4 5 ' }
- end
-
def test_preview_file
tmux.send_keys %[(echo foo bar; echo bar foo) | #{FZF} --multi --preview 'cat {+f} {+f2} {+nf} {+fn}' --print0], :Enter
tmux.until { |lines| assert_includes lines[1], ' foo barbar00 ' }