Project

General

Profile

Actions

Bug #11933

closed

Add test for Enumerator::Lazy#take

Added by ksss (Yuki Kurihara) over 8 years ago. Updated over 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.0dev (2015-12-29 trunk 53365) [x86_64-darwin15]
[ruby-dev:49467]

Description

Add test code in case of Enumerator::Lazy#take called with negative number.


Files

test-lazy-take.patch (467 Bytes) test-lazy-take.patch ksss (Yuki Kurihara), 12/31/2015 02:51 PM
Actions #1

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

  • Status changed from Open to Closed

Applied in changeset r53399.


Add test for Enumerator::Lazy#take

  • test/ruby/test_lazy_enumerator.rb (test_take_bad_arg): Add test
    code in case of Enumerator::Lazy#take called with negative number.
    [ruby-dev:49467] [Bug #11933]
Actions

Also available in: Atom PDF

Like0
Like0