ruby-changes:55450
From: ko1 <ko1@a...>
Date: Sun, 21 Apr 2019 12:46:30 +0900 (JST)
Subject: [ruby-changes:55450] ko1:r67670 (trunk): add ensure to restore $stdout correctly.
ko1 2019-04-21 12:46:25 +0900 (Sun, 21 Apr 2019) New Revision: 67670 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67670 Log: add ensure to restore $stdout correctly. Modified files: trunk/test/reline/key_actor_emacs_test.rb Index: test/reline/key_actor_emacs_test.rb =================================================================== --- test/reline/key_actor_emacs_test.rb (revision 67669) +++ test/reline/key_actor_emacs_test.rb (revision 67670) @@ -1095,6 +1095,7 @@ class Reline::KeyActor::Emacs::Test < Re https://github.com/ruby/ruby/blob/trunk/test/reline/key_actor_emacs_test.rb#L1095 assert_cursor(6) assert_cursor_max(6) assert_line('foo_ba') + ensure $stdout = STDOUT end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/