aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/enumerator
Commit message (Collapse)AuthorAgeFilesLines
* Update to ruby/spec@96d1072Benoit Daloze2023-09-0413-19/+334
|
* Update to ruby/spec@30e1c35Benoit Daloze2023-06-262-53/+2
|
* Update to ruby/spec@c3677cfBenoit Daloze2023-05-291-0/+88
|
* Update to ruby/spec@e7dc804Benoit Daloze2023-02-273-0/+14
|
* Update to ruby/spec@740ccc8Benoit Daloze2022-11-072-10/+11
|
* Update to ruby/spec@cbfaf51Benoit Daloze2022-07-271-0/+14
|
* Update to ruby/spec@3affe1eBenoit Daloze2022-04-257-103/+89
|
* Update to ruby/spec@aaf998fBenoit Daloze2022-03-281-0/+8
|
* Update to ruby/spec@7f22a0bBenoit Daloze2021-11-292-0/+16
|
* Update to ruby/spec@b65d01fBenoit Daloze2021-07-2921-282/+262
|
* Update to ruby/spec@a0b7d0dBenoit Daloze2021-06-021-0/+16
|
* Update to ruby/spec@37e52e5Benoit Daloze2021-02-274-0/+20
|
* Update to ruby/spec@4ce9f41Benoit Daloze2020-12-272-7/+10
|
* Enumerator.new: raise unless block given卜部昌平2020-12-222-30/+42
| | | | | Has been deprecated since c73b6bd7ebd01133538c645566944132dbde4d13. [Feature #17116] [ruby-dev:50945]
* Use Integer instead of Fixnum/BignumNobuyoshi Nakada2020-12-212-2/+2
|
* numeric.c, range.c: prohibit zero stepKenta Murata2020-10-231-2/+0
| | | | | | | | | * numeric.c: prohibit zero step in Numeric#step * range.c: prohibit zero step in Range#step * Fix ruby-spec [Feature #15573]
* Update to ruby/spec@4e486faBenoit Daloze2020-05-313-0/+64
|
* Update to ruby/spec@032ee74Benoit Daloze2020-05-031-4/+4
|
* Update to ruby/spec@d394dfdBenoit Daloze2020-05-021-0/+11
|
* Update to ruby/spec@f8a2d54Benoit Daloze2020-01-285-3/+124
|
* Update to ruby/spec@e69a14cBenoit Daloze2019-09-291-0/+8
|
* Remove bad expectation in specJeremy Evans2019-09-031-1/+0
| | | | | This spec should not be checking where methods are defined, only that the method works as expected (returns a Lazy instance).
* Update to ruby/spec@875a09eBenoit Daloze2019-07-2725-34/+100
|
* Update to ruby/spec@8d74d49Benoit Daloze2019-06-271-3/+1
|
* Update to ruby/spec@15c9619Benoit Daloze2019-04-274-79/+98
|
* Update to ruby/spec@7a16e01eregon2019-02-2118-0/+146
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/ruby: Tweak Enuemrator::Chain#rewind spec so that arity of block ↵marcandre2019-02-201-2/+2
| | | | | | | | | matches what is yielded Calling `and_yield(*args)` adds an implicit expectation that all the `args` are passed to a block that can accept them, even though blocks that are not lambda-like don't mind extra arguments. It so happens that this spec passed on Ruby 2.6.1 See [Bug #15613] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@6cf8ebeeregon2019-02-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@35a9fbaeregon2019-01-2024-23/+565
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Lazy Enumerator reduce intermediate array creationnobu2018-09-181-11/+0
| | | | | | | | [ruby-core:87907] [Bug #14908] [Fix GH-1912] From: Anmol Chopra <chopraanmol1@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Tests of Enumerator::Yielder#yield with multiple argumentsnobu2018-09-181-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@6f38a82eregon2018-04-282-63/+61
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@a585ec3eregon2018-03-261-10/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bug Fix Enumerator::Lazy#uniq state for multiple callnobu2018-03-131-0/+31
| | | | | | | | | | | | | | | | | | | | | | * enumerator.c (lazy_uniq_i): create new hash for each calls. [Fix GH-1820] Currently 2.5.0-preview1 :001 > arr = (0..100).lazy.uniq{|i| i % 10} => #<Enumerator::Lazy: #<Enumerator::Lazy: 0..100>:uniq> 2.5.0-preview1 :002 > arr.to_a => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] 2.5.0-preview1 :003 > arr.to_a => [] Expected arr.to_a to always return same output From: Anmol Chopra <anmolchopra@rocketbox.in> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@c1b568beregon2018-03-0450-85/+85
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@83063a3eregon2018-01-298-9/+80
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@a6b8805eregon2017-10-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move spec/rubyspec to spec/ruby for consistencyeregon2017-09-2051-0/+1714
* Other ruby implementations use the spec/ruby directory. [Misc #13792] [ruby-core:82287] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e