Actions
Bug #16926
closedKernel#require does not load a feature twice when $LOAD_PATH has been modified spec fails only on 2.7
Description
fails in 2.7.1, but not on Ruby <= 2.6 and not on master.
Could someone investigate why that is and if the change is on purpose or a bug?
It sounds like a bug, because changing the last be_false
to be_true
then passes for Kernel#require
but fails for Kernel.require
.
Reproduce with:
$ Use ruby 2.7.1
$ cd ruby/spec
# remove ruby_bug guard in core/kernel/require_spec.rb
$ mspec core/kernel/require_spec.rb
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0