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

ruby-changes:66544

From: aycabta <ko1@a...>
Date: Mon, 21 Jun 2021 23:12:50 +0900 (JST)
Subject: [ruby-changes:66544] 8509532c78 (master): Fix finish_using_lib_reline

https://git.ruby-lang.org/ruby.git/commit/?id=8509532c78

From 8509532c78ab2a8cc0efeadee6367bbe7991ee49 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Mon, 21 Jun 2021 23:13:04 +0900
Subject: Fix finish_using_lib_reline

---
 test/readline/helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/readline/helper.rb b/test/readline/helper.rb
index 8e1a06c..6afbaf7 100644
--- a/test/readline/helper.rb
+++ b/test/readline/helper.rb
@@ -23,6 +23,6 @@ else https://github.com/ruby/ruby/blob/trunk/test/readline/helper.rb#L23
   end
 
   def finish_using_lib_reline
-    Reline.test_reset
+    Reline.instance_variable_set(:@core, nil)
   end
 end
-- 
cgit v1.1


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

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