diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-02-10 23:58:23 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-02-11 00:01:50 +0900 |
| commit | 19ef8891e37975666675c60c25d1edd37679e5b5 (patch) | |
| tree | c2581a8e359124dd0d97d1fa1dc65825ebf14978 /test/test_preview.rb | |
| parent | bfea9e53a62777a433af25552d440537297a1323 (diff) | |
| download | fzf-19ef8891e37975666675c60c25d1edd37679e5b5.tar.gz | |
Print --wrap-sign in preview window
Close #4233
Diffstat (limited to 'test/test_preview.rb')
| -rw-r--r-- | test/test_preview.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_preview.rb b/test/test_preview.rb index ee1a5672..11b3225d 100644 --- a/test/test_preview.rb +++ b/test/test_preview.rb @@ -453,7 +453,7 @@ class TestPreview < TestInteractive tmux.send_keys 'f' tmux.until do |lines| assert_equal '::', lines[0] - assert_equal ' 3', lines[1] + assert_equal '↳ 3', lines[1] end end @@ -527,7 +527,7 @@ class TestPreview < TestInteractive tmux.send_keys "seq 10 | #{FZF} --preview-border rounded --preview-window '~5,2,+0,<100000(~0,+100,wrap,noinfo)' --preview 'seq 1000'", :Enter tmux.until { |lines| assert_equal 10, lines.match_count } tmux.until do |lines| - assert_equal ['╭────╮', '│ 10 │', '│ 0 │', '│ 10 │', '│ 1 │'], lines.take(5).map(&:strip) + assert_equal ['╭────╮', '│ 10 │', '│ ↳ 0│', '│ 10 │', '│ ↳ 1│'], lines.take(5).map(&:strip) end end |
