Unverified Commit 6c84e6e4 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #3969 from hfm/patch-1

Fix tinytypo
parents 59dabb38 0664c452
......@@ -40,7 +40,7 @@ assert("Enumerator::Lazy laziness") do
assert_equal [10,20], a.b
end
assert("Enumrator::Lazy#to_enum") do
assert("Enumerator::Lazy#to_enum") do
lazy_enum = (0..Float::INFINITY).lazy.to_enum(:each_slice, 2)
assert_kind_of Enumerator::Lazy, lazy_enum
assert_equal [0*1, 2*3, 4*5, 6*7], lazy_enum.map { |a| a.first * a.last }.first(4)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment