Skip to content
Myr

Add test case for --no-clear

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 6fd4be5 · Browse files · 1 file+8 added−0 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+8 added−0 removed

  • tests:+8 added−0 removed

1 file+8 added−0 removed

modified:test/test_go.rb+8 added
1294 unmodified lines
1295 tmux.send_keys :Down1296 tmux.until { |lines| lines[4] == '> 3' }1297 tmux.until { |_| %w[1 2 3] == File.readlines(tempname).map(&:chomp) }1298 end12991300 def test_no_clear1301 tmux.send_keys 'seq 100 | fzf --no-clear --inline-info --height 5', :Enter1302 prompt = '> < 100/100'1303 tmux.until { |lines| lines[-1] == prompt }1304 tmux.send_keys :Enter1305 tmux.until { |lines| lines[-2] == prompt && lines[-1] == '1' }1306 end1307end13081309module TestShell1310 def setup
348 unmodified lines