summaryrefslogtreecommitdiff
path: root/test/reline
diff options
context:
space:
mode:
authortomoya ishida <tomoyapenguin@gmail.com>2023-07-19 05:31:32 +0900
committergit <svn-admin@ruby-lang.org>2023-07-18 20:31:40 +0000
commitb4003079239f369632ce1ac68fb0575b41bb37be (patch)
treeac44e62b2590521a6f34321ca42486c92fe5ecf8 /test/reline
parentecbedf9bf125b158c683dd6f69ce966653cc9a33 (diff)
[ruby/reline] Add missing `close` to test_rendering.rb
(https://github.com/ruby/reline/pull/573) https://github.com/ruby/reline/commit/7cd817036e
Diffstat (limited to 'test/reline')
-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 c0af918844..985884393a 100644
--- a/test/reline/yamatanooroti/test_rendering.rb
+++ b/test/reline/yamatanooroti/test_rendering.rb
@@ -245,6 +245,7 @@ begin
sleep 1
write("A")
write("B\eAC") # ESC + A (M-A, specified ed_unassigned in Reline::KeyActor::Emacs)
+ close
assert_screen(<<~EOC)
Multiline REPL.
prompt> abcABCdef
@@ -690,6 +691,7 @@ begin
EOC
write("\C-p" * 4 + "\C-e" + "\C-p" * 4)
write("2")
+ close
assert_screen(<<~EOC)
prompt> if 12
prompt> if 2
@@ -994,6 +996,7 @@ begin
write("\n" * 10)
write("if 1\n sSt\nend")
write("\C-p\C-h\C-e")
+ close
assert_screen(<<~'EOC')
prompt>
prompt>