diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-20 19:00:27 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-20 19:00:27 +0000 |
| commit | 2d3724e05833f79e19f729195fdf0f01f081c5a6 (patch) | |
| tree | 92ed404d7f5581504aeb463638dabff21f0fcbee /test/ruby | |
| parent | ad56f8c6110bd8233a4f2224ccdd1cc7ef645dc1 (diff) | |
* 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
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_enumerator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_enumerator.rb b/test/ruby/test_enumerator.rb index 6ff8f82019..60864258c3 100644 --- a/test/ruby/test_enumerator.rb +++ b/test/ruby/test_enumerator.rb @@ -5,7 +5,7 @@ class TestEnumerator < Test::Unit::TestCase i = 0
obj.map{|e|
[i+=1, e]
- }
+ }.sort
end
def test_iterators
|
