Project

General

Profile

Bug #11933 ยป test-lazy-take.patch

ksss (Yuki Kurihara), 12/31/2015 02:51 PM

View differences:

test/ruby/test_lazy_enumerator.rb
assert_equal(nil, a.current)
end
def test_take_bad_arg
a = Step.new(1..10)
assert_raise(ArgumentError) { a.lazy.take(-1) }
end
def test_take_recycle
bug6428 = '[ruby-dev:45634]'
a = Step.new(1..10)
    (1-1/1)