Skip to content
Myr

Fix test case

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 74e98ca · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • tests:+3 added−3 removed

1 file+3 added−3 removed

modified:test/test_preview.rb+3 added-3 removed
385 unmodified lines
386 def test_preview_follow_wrap387 tmux.send_keys "seq 1 | #{FZF} --preview 'seq 1000' --preview-window right,2,follow,wrap", :Enter388 tmux.until { |lines| assert_equal 1, lines.match_count }389 tmux.until do |lines|390 assert_includes lines[-4], '│ 10 │'391 assert_includes lines[-3], '│ ↳ │'392 assert_includes lines[-2], '│ ↳ │'390 idx = lines.rindex { it.include?('│ 10 │') }391 assert_includes lines[idx + 1], '│ ↳ │'392 assert_includes lines[idx + 2], '│ ↳ │'393 end394 end395396 def test_close
189 unmodified lines