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

ruby-changes:60230

From: aycabta <ko1@a...>
Date: Sat, 29 Feb 2020 03:46:23 +0900 (JST)
Subject: [ruby-changes:60230] b621c9abd1 (master): Set Readline.completion_append_character = nil always

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

From b621c9abd167ac0641ac81b0a233d0f3d6892bea Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Sat, 29 Feb 2020 03:24:12 +0900
Subject: Set Readline.completion_append_character = nil always

GNU Readline add a white space when Readline.completion_append_character is
not initialized.

diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index fa93376..7ac2212 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -527,6 +527,7 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L527
   end
 
   def test_using_quoting_detection_proc_with_multibyte_input
+    Readline.completion_append_character = nil
     saved_completer_quote_characters = Readline.completer_quote_characters
     saved_completer_word_break_characters = Readline.completer_word_break_characters
 
-- 
cgit v0.10.2


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

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