Skip to content

Commit

Permalink
s/RubyVM::JIT/RubyVM::MJIT/g
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Dec 15, 2021
1 parent 1619f71 commit cec3264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/core_assertions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def syntax_check(code, fname, line)

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

require_relative '../../memory_status'
raise MiniTest::Skip, "unsupported platform" unless defined?(Memory::Status)
Expand Down

0 comments on commit cec3264

Please sign in to comment.