summaryrefslogtreecommitdiff
path: root/test/-ext-/bug_reporter/test_bug_reporter.rb
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2021-10-27 16:10:25 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-28 13:43:02 -0400
commite53d07f583866e6df7a88963ada33cad68018ebd (patch)
treec65d78bdc6475760a11c1447c462a67b5b689a06 /test/-ext-/bug_reporter/test_bug_reporter.rb
parentd8e97169baf3073366f768a52956c43a1d4b0806 (diff)
Rename ::YJIT to RubyVM::YJIT
Since the YJIT Ruby module is CRuby specific and not meant for general use, it should live under RubyVM instead of at top level.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5038
Diffstat (limited to 'test/-ext-/bug_reporter/test_bug_reporter.rb')
-rw-r--r--test/-ext-/bug_reporter/test_bug_reporter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/-ext-/bug_reporter/test_bug_reporter.rb b/test/-ext-/bug_reporter/test_bug_reporter.rb
index 759e295fb6..6d3640eba5 100644
--- a/test/-ext-/bug_reporter/test_bug_reporter.rb
+++ b/test/-ext-/bug_reporter/test_bug_reporter.rb
@@ -8,7 +8,7 @@ class TestBugReporter < Test::Unit::TestCase
description = RUBY_DESCRIPTION
description = description.sub(/\+JIT /, '') if defined?(RubyVM::JIT) && RubyVM::JIT.enabled?
- description = description.sub(/\+YJIT /, '') if defined?(YJIT.enabled?) && YJIT.enabled?
+ description = description.sub(/\+YJIT /, '') if defined?(RubyVM::YJIT.enabled?) && RubyVM::YJIT.enabled?
expected_stderr = [
:*,
/\[BUG\]\sSegmentation\sfault.*\n/,