Skip to content

Commit e6815e9

Browse files
k0kubunhsbt
authored andcommitted
s/MJIT/RJIT/
1 parent 698e18c commit e6815e9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/lib/core_assertions.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ def syntax_check(code, fname, line)
9999
end
100100

101101
def assert_no_memory_leak(args, prepare, code, message=nil, limit: 2.0, rss: false, **opt)
102-
# 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::MJIT) && RubyVM::MJIT.enabled?
102+
# TODO: consider choosing some appropriate limit for RJIT and stop skipping this once it does not randomly fail
103+
pend 'assert_no_memory_leak may consider RJIT memory usage as leak' if defined?(RubyVM::RJIT) && RubyVM::RJIT.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
@@ -313,7 +313,7 @@ def test_read_body_block
313313

314314
def test_read_body_block_mod
315315
# http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3019353
316-
if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
316+
if defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled?
317317
omit 'too unstable with --jit-wait, and extending read_timeout did not help it'
318318
end
319319
IO.pipe do |r, w|

0 commit comments

Comments
 (0)