diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-30 12:01:09 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-30 12:01:09 +0000 |
commit | 283e5d5aabd16951d9f5db92683540cacda199a3 (patch) | |
tree | 6a4cd564e7a6e0ad31e80d232de1cc4eb3be741e /test/lib/minitest/unit.rb | |
parent | e03e2b95a0545d37ce678253d282952ed6513387 (diff) | |
download | ruby-283e5d5aabd16951d9f5db92683540cacda199a3.tar.gz |
* test/lib/minitest/unit.rb (check_fd_leak): Sort the inspected
objects list for a FD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/minitest/unit.rb')
-rw-r--r-- | test/lib/minitest/unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/minitest/unit.rb b/test/lib/minitest/unit.rb index aeb529a43c..e547bb8781 100644 --- a/test/lib/minitest/unit.rb +++ b/test/lib/minitest/unit.rb @@ -1034,7 +1034,7 @@ module MiniTest s = ' ' + io.inspect s << "(not-autoclose)" if !autoclose s - }.each {|s| + }.sort.each {|s| str << s } end |