summaryrefslogtreecommitdiff
path: root/test/lib/minitest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-30 12:01:09 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-30 12:01:09 +0000
commit283e5d5aabd16951d9f5db92683540cacda199a3 (patch)
tree6a4cd564e7a6e0ad31e80d232de1cc4eb3be741e /test/lib/minitest
parente03e2b95a0545d37ce678253d282952ed6513387 (diff)
* 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')
-rw-r--r--test/lib/minitest/unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/minitest/unit.rb b/test/lib/minitest/unit.rb
index aeb529a..e547bb8 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