1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/net/ftp/test_ftp.rb: Use RubyVM::JIT instead of RubyVM::MJIT

This commit is contained in:
Yusuke Endoh 2021-04-28 09:10:58 +09:00
parent 8e2ac2140d
commit 734557498f

View file

@ -900,7 +900,7 @@ class FTPTest < Test::Unit::TestCase
begin
ftp = Net::FTP.new
ftp.passive = true
ftp.read_timeout *= 5 if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? # for --jit-wait
ftp.read_timeout *= 5 if defined?(RubyVM::JIT) && RubyVM::JIT.enabled? # for --jit-wait
ftp.connect(SERVER_ADDR, server.port)
ftp.login
assert_match(/\AUSER /, commands.shift)