1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test_enumerator.rb (enum_test): fix to return sorted

array (for Hash test).



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2007-08-20 19:00:27 +00:00
parent ad56f8c611
commit 2d3724e058
2 changed files with 6 additions and 1 deletions

View file

@ -5,7 +5,7 @@ class TestEnumerator < Test::Unit::TestCase
i = 0
obj.map{|e|
[i+=1, e]
}
}.sort
end
def test_iterators