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 f625c5a · Browse files · 1 file+4 added−1 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+4 added−1 removed

  • tests:+4 added−1 removed

1 file+4 added−1 removed

modified:test/test_go.rb+4 added-1 removed
3404 unmodified lines
3405 tmux.send_keys 'C-u'3406 tmux.send_keys 'cat /tmp/fzf\ test/**', :Tab3407 tmux.until { |lines| assert_operator lines.match_count, :>, 0 }3408 tmux.send_keys 'foobar$'3409 tmux.until { |lines| assert_equal 1, lines.match_count }3409 tmux.until do |lines|3410 assert_equal 1, lines.match_count3411 assert lines.any_include?('> /tmp/fzf test/foobar')3412 end3413 tmux.send_keys :Enter3414 tmux.until(true) { |lines| assert_equal 'cat /tmp/fzf\ test/foobar', lines[-1] }34153416 # Should include hidden files
315 unmodified lines