aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2020-09-12 07:37:46 +0900
committeraycabta <aycabta@gmail.com>2020-12-05 02:58:58 +0900
commit092c253bff2e81ddae6e8c85b3a94af45129bdab (patch)
tree4bdf91f82bfa3eee63d9320abb39733c7ddb5b42 /test
parent62666a6bbdab7a066c761283e448132215ca2e7d (diff)
downloadruby-092c253bff2e81ddae6e8c85b3a94af45129bdab.tar.gz
[ruby/reline] Wait for the process to be started in start_terminal
https://github.com/ruby/reline/commit/d29d33dcf5
Diffstat (limited to 'test')
-rw-r--r--test/reline/yamatanooroti/test_rendering.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/reline/yamatanooroti/test_rendering.rb b/test/reline/yamatanooroti/test_rendering.rb
index 1c2b04f3dd..20b0aae57c 100644
--- a/test/reline/yamatanooroti/test_rendering.rb
+++ b/test/reline/yamatanooroti/test_rendering.rb
@@ -168,6 +168,7 @@ begin
set emacs-mode-string [emacs]
LINES
start_terminal(5, 30, %W{ruby -I#{@pwd}/lib #{@pwd}/bin/multiline_repl})
+ sleep 0.5
close
assert_screen(<<~EOC)
Multiline REPL.
@@ -181,6 +182,7 @@ begin
set emacs-mode-string "[emacs]"
LINES
start_terminal(5, 30, %W{ruby -I#{@pwd}/lib #{@pwd}/bin/multiline_repl})
+ sleep 0.5
close
assert_screen(<<~EOC)
Multiline REPL.
@@ -196,6 +198,7 @@ begin
set vi-cmd-mode-string "{CmD}"
LINES
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)