diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-14 01:35:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-14 01:35:09 +0000 |
commit | 8cdfe403d3d79f997fdfdb9af3096110e5d84150 (patch) | |
tree | ae6818c23ad9d6239871355c43139e7949f95d59 /test/ruby/test_lazy_enumerator.rb | |
parent | 48f9f0bda9c09f946b912e954f755591966ee703 (diff) | |
download | ruby-8cdfe403d3d79f997fdfdb9af3096110e5d84150.tar.gz |
Init_Enumerator
* enumerator.c (Init_Enumerator): initialize method IDs first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_lazy_enumerator.rb')
-rw-r--r-- | test/ruby/test_lazy_enumerator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_lazy_enumerator.rb b/test/ruby/test_lazy_enumerator.rb index 9dbabafaa9..caf222c235 100644 --- a/test/ruby/test_lazy_enumerator.rb +++ b/test/ruby/test_lazy_enumerator.rb @@ -127,7 +127,7 @@ class TestLazyEnumerator < Test::Unit::TestCase assert_equal([1, "a"], a.lazy.zip("a".."c").first) assert_equal(1, a.current) end - + def test_zip_without_arg a = Step.new(1..3) assert_equal([1], a.zip.first) |