Issue #15228 has been reported by MSP-Greg (Greg L).
----------------------------------------
Bug #15228: Fix spec/ruby/core/array/reject_spec.rb & misc
https://bugs.ruby-lang.org/issues/15228
* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.6.0dev (2018-10-16 trunk 65097)
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
Running some 'log inspection' code on ruby-loco, noticed spec tests that intermittently reported no examples. Most of the files were in core/array. The actual logs showed that whatever ruby instance ran reject_spec.rb had most of its subsequent core/array files report zero examples.
Code causing the problem had an incorrect return, along with an error from 'raise raise'. I believe all CI showed an increase in the example count.
See [GH PR 1985](https://github.com/ruby/ruby/pull/1985). Includes two minor changes to spec/ruby/core/array/fixtures/classes.rb.
Patch attached.
---Files--------------------------------
ruby-core-array.patch (1.16 KB)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>