summaryrefslogtreecommitdiff
path: root/test/csv
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 /test/csv
parent4d13f3e9da6298a1f8154def2e341ecb7c5fe116 (diff)
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 'test/csv')
-rw-r--r--test/csv/parse/test_general.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csv/parse/test_general.rb b/test/csv/parse/test_general.rb
index 52b0cab000..14903d462c 100644
--- a/test/csv/parse/test_general.rb
+++ b/test/csv/parse/test_general.rb
@@ -247,7 +247,7 @@ line,5,jkl
def assert_parse_errors_out(data, **options)
assert_raise(CSV::MalformedCSVError) do
timeout = 0.2
- if defined?(RubyVM::MJIT.enabled?) and RubyVM::MJIT.enabled?
+ if defined?(RubyVM::JIT.enabled?) and RubyVM::JIT.enabled?
timeout = 5 # for --jit-wait
end
Timeout.timeout(timeout) do