From d29d33dcf53f6c0da7264f261287625029a102da Mon Sep 17 00:00:00 2001 From: aycabta Date: Sat, 12 Sep 2020 07:37:46 +0900 Subject: [PATCH] Wait for the process to be started in start_terminal --- test/reline/yamatanooroti/test_rendering.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/reline/yamatanooroti/test_rendering.rb b/test/reline/yamatanooroti/test_rendering.rb index effeb7cff2..31a916da43 100644 --- a/test/reline/yamatanooroti/test_rendering.rb +++ b/test/reline/yamatanooroti/test_rendering.rb @@ -160,6 +160,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. @@ -175,6 +176,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. @@ -192,6 +194,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)