ruby-changes:35225
From: nobu <ko1@a...>
Date: Thu, 28 Aug 2014 17:28:05 +0900 (JST)
Subject: [ruby-changes:35225] nobu:r47307 (trunk): test_io_m17n.rb: leaked FDs
nobu 2014-08-28 17:27:53 +0900 (Thu, 28 Aug 2014) New Revision: 47307 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47307 Log: test_io_m17n.rb: leaked FDs * test/ruby/test_io_m17n.rb (test_ignored_encoding_option): fix leaked file descriptors by r47305. Modified files: trunk/test/ruby/test_io_m17n.rb Index: test/ruby/test_io_m17n.rb =================================================================== --- test/ruby/test_io_m17n.rb (revision 47306) +++ test/ruby/test_io_m17n.rb (revision 47307) @@ -316,10 +316,10 @@ EOT https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io_m17n.rb#L316 enc = "\u{30a8 30f3 30b3 30fc 30c7 30a3 30f3 30b0}" pattern = /#{enc}/ assert_warning(pattern) { - open(IO::NULL, external_encoding: "us-ascii", encoding: enc) + open(IO::NULL, external_encoding: "us-ascii", encoding: enc) {} } assert_warning(pattern) { - open(IO::NULL, internal_encoding: "us-ascii", encoding: enc) + open(IO::NULL, internal_encoding: "us-ascii", encoding: enc) {} } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/