summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_iterator.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-29 13:44:50 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-29 13:44:50 +0000
commitb588bb6ec512bfdb3ff6e3625a007660f4f60e88 (patch)
tree9f3bbc4eefa974c1c9bf32cf21aeff0c952e38f1 /test/ruby/test_iterator.rb
parent3dc326319fab3b0ef8c622f7f6601a3a5627f630 (diff)
downloadruby-b588bb6ec512bfdb3ff6e3625a007660f4f60e88.tar.gz
ruby-b588bb6ec512bfdb3ff6e3625a007660f4f60e88.tar.xz
ruby-b588bb6ec512bfdb3ff6e3625a007660f4f60e88.zip
* test/ruby/test_iterator.rb (TestIterator::test_enumerator):
adjust test for zip behavior reversion. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_iterator.rb')
-rw-r--r--test/ruby/test_iterator.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_iterator.rb b/test/ruby/test_iterator.rb
index 4b38ac806..f6ac64532 100644
--- a/test/ruby/test_iterator.rb
+++ b/test/ruby/test_iterator.rb
@@ -491,7 +491,7 @@ class TestIterator < Test::Unit::TestCase
loop{a.push e.next}
assert_equal([1,2,3], a)
- assert_equal([[1, 8, 10], [2, 6, 11], [3, 4, 12]],
- (1..10).zip([8,6,4],(10..100)).to_a)
+ assert_equal([[8, 1, 10], [6, 2, 11], [4, 3, 12]],
+ [8,6,4].zip((1..10),(10..100)).to_a)
end
end