summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/jit_support.rb2
-rw-r--r--test/lib/minitest/unit.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb
index d70709b87f..fa1402e4b4 100644
--- a/test/lib/jit_support.rb
+++ b/test/lib/jit_support.rb
@@ -42,7 +42,7 @@ module JITSupport
end
def remove_mjit_logs(stderr)
- if RubyVM::MJIT.enabled?
+ if RubyVM::MJIT.enabled? # utility for -DFORCE_MJIT_ENABLE
stderr.gsub(/^MJIT warning: Skipped to compile unsupported instruction: \w+\n/m, '')
else
stderr
diff --git a/test/lib/minitest/unit.rb b/test/lib/minitest/unit.rb
index 81b9d7deae..25fd15d093 100644
--- a/test/lib/minitest/unit.rb
+++ b/test/lib/minitest/unit.rb
@@ -956,7 +956,7 @@ module MiniTest
puts if @verbose
$stdout.flush
- unless defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? # compiler process is wrongly considered as leaked
+ unless defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? # compiler process is wrongly considered as leak
leakchecker.check("#{inst.class}\##{inst.__name__}")
end