зеркало из https://github.com/github/ruby.git
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:
Родитель
d0e50b7d5b
Коммит
2a5ea43507
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче