diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-07 18:05:10 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:43 -0400 |
| commit | efed45966b3aac728bbbe2cfc7ec937b7712c146 (patch) | |
| tree | fc6066abd18d13146e5c848f49127699b7f476da /spec/ruby/core/array/shared/slice.rb | |
| parent | 13261f00fbe844261f364d51fc97318758d87c2b (diff) | |
Show +YJIT in version string and RUBY_DESCRIPTION
There might be code out there that expect `ruby -v` to print only one
line. Since MJIT shows +JIT in `ruby -v` and RUBY_DESCRIPTION, let's
show +YJIT.
The crash report doesn't show anything about MJIT, so adjust the test.
The "test_ruby_version" test was unaware of RUBY_YJIT_ENABLE and so
was failing when the variable is set and inherited into the children
processes it spawns. Explicitly unset the variable in the test.
Diffstat (limited to 'spec/ruby/core/array/shared/slice.rb')
0 files changed, 0 insertions, 0 deletions
