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:
parent
d0e50b7d5b
commit
2a5ea43507
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue