ruby-changes:34170
From: akr <ko1@a...>
Date: Fri, 30 May 2014 21:01:15 +0900 (JST)
Subject: [ruby-changes:34170] akr:r46251 (trunk): * test/lib/minitest/unit.rb (check_fd_leak): Sort the inspected
akr 2014-05-30 21:01:09 +0900 (Fri, 30 May 2014) New Revision: 46251 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=46251&view=revision Log: * test/lib/minitest/unit.rb (check_fd_leak): Sort the inspected objects list for a FD. Modified files: trunk/ChangeLog trunk/test/lib/minitest/unit.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 46250) +++ ChangeLog (revision 46251) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri May 30 20:58:37 2014 Tanaka Akira <akr@f...> + + * test/lib/minitest/unit.rb (check_fd_leak): Sort the inspected + objects list for a FD. + Fri May 30 18:06:55 2014 Tanaka Akira <akr@f...> * test/lib/minitest/unit.rb (check_fd_leak): Try GC to delete leaked Index: test/lib/minitest/unit.rb =================================================================== --- test/lib/minitest/unit.rb (revision 46250) +++ test/lib/minitest/unit.rb (revision 46251) @@ -1034,7 +1034,7 @@ module MiniTest https://github.com/ruby/ruby/blob/trunk/test/lib/minitest/unit.rb#L1034 s = ' ' + io.inspect s << "(not-autoclose)" if !autoclose s - }.each {|s| + }.sort.each {|s| str << s } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/