1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add ensure to restore $stdout correctly.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2019-04-21 03:46:25 +00:00
parent d0e50b7d5b
commit 2a5ea43507

View file

@ -1095,6 +1095,7 @@ class Reline::KeyActor::Emacs::Test < Reline::TestCase
assert_cursor(6)
assert_cursor_max(6)
assert_line('foo_ba')
ensure
$stdout = STDOUT
end