diff options
author | aycabta <aycabta@gmail.com> | 2020-09-12 07:37:46 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2020-12-05 02:58:58 +0900 |
commit | 092c253bff2e81ddae6e8c85b3a94af45129bdab (patch) | |
tree | 4bdf91f82bfa3eee63d9320abb39733c7ddb5b42 /test/reline | |
parent | 62666a6bbdab7a066c761283e448132215ca2e7d (diff) |
[ruby/reline] Wait for the process to be started in start_terminal
https://github.com/ruby/reline/commit/d29d33dcf5
Diffstat (limited to 'test/reline')
-rw-r--r-- | test/reline/yamatanooroti/test_rendering.rb | 3 |
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) |