[前][次][番号順一覧][スレッド一覧]

ruby-changes:65997

From: Yusuke <ko1@a...>
Date: Wed, 28 Apr 2021 09:11:51 +0900 (JST)
Subject: [ruby-changes:65997] 734557498f (master): test/net/ftp/test_ftp.rb: Use RubyVM::JIT instead of RubyVM::MJIT

https://git.ruby-lang.org/ruby.git/commit/?id=734557498f

From 734557498f2e5e135605945d60a56bab256de769 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Wed, 28 Apr 2021 09:10:58 +0900
Subject: test/net/ftp/test_ftp.rb: Use RubyVM::JIT instead of RubyVM::MJIT

---
 test/net/ftp/test_ftp.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb
index 7e71f7b..ee64290 100644
--- a/test/net/ftp/test_ftp.rb
+++ b/test/net/ftp/test_ftp.rb
@@ -900,7 +900,7 @@ class FTPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L900
       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)
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]