* 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

@ -1,3 +1,8 @@
Tue Aug 21 03:59:32 2007 Koichi Sasada <ko1@atdot.net>
* test_enumerator.rb (enum_test): fix to return sorted
array (for Hash test).
Tue Aug 21 03:55:20 2007 Koichi Sasada <ko1@atdot.net>
* enumerator.c (next_i): fix to return with Fiber#yield at

View File

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