Skip to content

Commit

Permalink
Merge pull request #173 from aycabta/add-sleep-just-after-start_terminal
Browse files Browse the repository at this point in the history
Wait for the process to be started in start_terminal
  • Loading branch information
aycabta authored Oct 6, 2020
2 parents c8a419b + d29d33d commit c444e6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/reline/yamatanooroti/test_rendering.rb
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def test_original_mode_icon_emacs
LINES
end
start_terminal(5, 30, %W{ruby -I#{@pwd}/lib #{@pwd}/bin/multiline_repl})
sleep 0.5
close
assert_screen(<<~EOC)
Multiline REPL.
Expand All @@ -191,6 +192,7 @@ def test_original_mode_icon_with_quote
LINES
end
start_terminal(5, 30, %W{ruby -I#{@pwd}/lib #{@pwd}/bin/multiline_repl})
sleep 0.5
close
assert_screen(<<~EOC)
Multiline REPL.
Expand All @@ -208,6 +210,7 @@ def test_original_mode_icon_vi
LINES
end
start_terminal(5, 30, %W{ruby -I#{@pwd}/lib #{@pwd}/bin/multiline_repl})
sleep 0.5
write(":a\n\C-[k")
close
assert_screen(<<~EOC)
Expand Down

0 comments on commit c444e6d

Please sign in to comment.