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:
parent
8e2ac2140d
commit
734557498f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue