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

ruby-changes:61250

From: aycabta <ko1@a...>
Date: Thu, 14 May 2020 13:35:28 +0900 (JST)
Subject: [ruby-changes:61250] 03a492fe45 (master): Initialize Reline callbacks when test suit starts

https://git.ruby-lang.org/ruby.git/commit/?id=03a492fe45

From 03a492fe45816d21ec8bb080229f0caf07626810 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Wed, 13 May 2020 07:25:57 +0900
Subject: Initialize Reline callbacks when test suit starts


diff --git a/test/reline/test_reline.rb b/test/reline/test_reline.rb
index 0de2462..236901f 100644
--- a/test/reline/test_reline.rb
+++ b/test/reline/test_reline.rb
@@ -7,6 +7,12 @@ class Reline::Test < Reline::TestCase https://github.com/ruby/ruby/blob/trunk/test/reline/test_reline.rb#L7
   end
 
   def setup
+    Reline.output_modifier_proc = nil
+    Reline.completion_proc = nil
+    Reline.prompt_proc = nil
+    Reline.auto_indent_proc = nil
+    Reline.pre_input_hook = nil
+    Reline.dig_perfect_match_proc = nil
   end
 
   def teardown
-- 
cgit v0.10.2


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

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