aboutsummaryrefslogtreecommitdiffstats
path: root/tool/test/webrick/test_server.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2021-01-13 22:36:45 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2021-01-13 22:46:51 -0800
commite1fee7f949cb6719122672fa1081c60984a5339f (patch)
tree3a851fdfcdbf395f5783aecaacf521308ddfd74e /tool/test/webrick/test_server.rb
parent4d13f3e9da6298a1f8154def2e341ecb7c5fe116 (diff)
downloadruby-e1fee7f949cb6719122672fa1081c60984a5339f.tar.gz
Rename RubyVM::MJIT to RubyVM::JIT
because the name "MJIT" is an internal code name, it's inconsistent with --jit while they are related to each other, and I want to discourage future JIT implementation-specific (e.g. MJIT-specific) APIs by this rename. [Feature #17490]
Diffstat (limited to 'tool/test/webrick/test_server.rb')
-rw-r--r--tool/test/webrick/test_server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/test/webrick/test_server.rb b/tool/test/webrick/test_server.rb
index 815cc3ce39..0fd3f3b63b 100644
--- a/tool/test/webrick/test_server.rb
+++ b/tool/test/webrick/test_server.rb
@@ -65,7 +65,7 @@ class TestWEBrickServer < Test::Unit::TestCase
}
TestWEBrick.start_server(Echo, config){|server, addr, port, log|
true while server.status != :Running
- sleep 1 if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? # server.status behaves unexpectedly with --jit-wait
+ sleep 1 if defined?(RubyVM::JIT) && RubyVM::JIT.enabled? # server.status behaves unexpectedly with --jit-wait
assert_equal(1, started, log.call)
assert_equal(0, stopped, log.call)
assert_equal(0, accepted, log.call)