Skip to content

Commit 7cd8170

Browse files
authored
Add missing close to test_rendering.rb (#573)
1 parent 8957494 commit 7cd8170

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/reline/yamatanooroti/test_rendering.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ def test_esc_input
245245
sleep 1
246246
write("A")
247247
write("B\eAC") # ESC + A (M-A, specified ed_unassigned in Reline::KeyActor::Emacs)
248+
close
248249
assert_screen(<<~EOC)
249250
Multiline REPL.
250251
prompt> abcABCdef
@@ -690,6 +691,7 @@ def test_longer_than_screen_height_nearest_cursor_with_scroll_back
690691
EOC
691692
write("\C-p" * 4 + "\C-e" + "\C-p" * 4)
692693
write("2")
694+
close
693695
assert_screen(<<~EOC)
694696
prompt> if 12
695697
prompt> if 2
@@ -994,6 +996,7 @@ def test_dialog_scroll_pushup_condition
994996
write("\n" * 10)
995997
write("if 1\n sSt\nend")
996998
write("\C-p\C-h\C-e")
999+
close
9971000
assert_screen(<<~'EOC')
9981001
prompt>
9991002
prompt>

0 commit comments

Comments
 (0)