summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/string
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-16 16:26:31 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-17 21:16:56 +0900
commit106d616cc8a5c95a2944f9ea3d7f99ee54042cdd (patch)
tree599279fb85457b315b00deb3d7efa2afce511fa0 /spec/ruby/shared/string
parentf5459acd79c30dbea3062e48fb2b12d510c5b868 (diff)
Make sure to only reset "dummy" $LOADED_FEATURES
Namely, those generated under `/tmp`. The previous approach was brittle and broken in the case of ruby-core, because under that setup, the current folder is in the original `$LOAD_PATH`, and dummy features are created under `./tmp`, so they were failing to be reset.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3213
Diffstat (limited to 'spec/ruby/shared/string')
0 files changed, 0 insertions, 0 deletions