diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-21 03:46:25 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-21 03:46:25 +0000 |
commit | 2a5ea43507564739be53af511c9b3a4891db9700 (patch) | |
tree | 3e7fc0ef7e47d26307c23a7123bc8e99ab179b9e /test/reline | |
parent | d0e50b7d5ba6cd247110a0b867a2e1b5442d9978 (diff) | |
download | ruby-2a5ea43507564739be53af511c9b3a4891db9700.tar.gz |
add ensure to restore $stdout correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/reline')
-rw-r--r-- | test/reline/key_actor_emacs_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/reline/key_actor_emacs_test.rb b/test/reline/key_actor_emacs_test.rb index e371d318ef..c387f1c4ee 100644 --- a/test/reline/key_actor_emacs_test.rb +++ b/test/reline/key_actor_emacs_test.rb @@ -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 |