Skip to content
Myr

Fix flaky 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 5669f48 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • tests:+2 added−2 removed

1 file+2 added−2 removed

modified:test/test_go.rb+2 added-2 removed
2693 unmodified lines
2694 end26952696 def test_change_preview_window_should_not_reset_change_preview2697 tmux.send_keys "#{FZF} --preview-window up,border-none --bind 'start:change-preview(echo hello)' --bind 'enter:change-preview-window(border-left)'", :Enter2698 tmux.until { |lines| assert_equal 'hello', lines[0] }2698 tmux.until { |lines| assert_includes lines, 'hello' }2699 tmux.send_keys :Enter2700 tmux.until { |lines| assert_equal '│ hello', lines[0] }2700 tmux.until { |lines| assert_includes lines, '│ hello' }2701 end27022703 def test_change_preview_window_rotate2704 tmux.send_keys "seq 100 | #{FZF} --preview-window left,border-none --preview 'echo hello' --bind '" \
1093 unmodified lines