Skip to content

Commit a02d142

Browse files
committed
s/RubyVM::JIT/RubyVM::MJIT/g
1 parent 37bade2 commit a02d142

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/lib/core_assertions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def syntax_check(code, fname, line)
100100

101101
def assert_no_memory_leak(args, prepare, code, message=nil, limit: 2.0, rss: false, **opt)
102102
# TODO: consider choosing some appropriate limit for MJIT and stop skipping this once it does not randomly fail
103-
pend 'assert_no_memory_leak may consider MJIT memory usage as leak' if defined?(RubyVM::JIT) && RubyVM::JIT.enabled?
103+
pend 'assert_no_memory_leak may consider MJIT memory usage as leak' if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
104104

105105
require_relative 'memory_status'
106106
raise Test::Unit::PendedError, "unsupported platform" unless defined?(Memory::Status)

test/net/http/test_httpresponse.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def test_read_body_block
7878

7979
def test_read_body_block_mod
8080
# http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3019353
81-
if defined?(RubyVM::JIT) ? RubyVM::JIT.enabled? : defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
81+
if defined?(RubyVM::MJIT) ? RubyVM::MJIT.enabled? : defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
8282
omit 'too unstable with --jit-wait, and extending read_timeout did not help it'
8383
end
8484
IO.pipe do |r, w|

0 commit comments

Comments
 (0)