Fix failing test case

This commit is contained in:
Junegunn Choi 2020-03-29 22:06:06 +09:00
parent 18261fe31c
commit a5c2f28539
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -1846,7 +1846,7 @@ module TestShell
tmux.send_keys 'C-r'
tmux.until { |lines| lines.match_count.positive? }
end
tmux.send_keys '3d'
tmux.send_keys 'e3d'
# Duplicates removed: 3d (1) + 3rd (1) => 2 matches
tmux.until { |lines| lines.match_count == 2 }
tmux.until { |lines| lines[-3].end_with? 'echo 3d' }