ruby-changes:59282
From: aycabta <ko1@a...>
Date: Tue, 17 Dec 2019 05:08:39 +0900 (JST)
Subject: [ruby-changes:59282] 95213f6df6 (master): Check wether Readline.completion_append_character= exists
https://git.ruby-lang.org/ruby.git/commit/?id=95213f6df6 From 95213f6df6a23918d57a743975708c638da42aae Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Sun, 15 Dec 2019 10:29:44 +0900 Subject: Check wether Readline.completion_append_character= exists diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb index e3c6727..a343939 100644 --- a/test/readline/test_readline.rb +++ b/test/readline/test_readline.rb @@ -608,7 +608,7 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L608 def test_completion_with_completion_append_character skip "Skip Editline" if /EditLine/n.match(Readline::VERSION) - skip "Reline doesn't still implement it" if defined?(Reline) and Readline == Reline + skip "Readline.completion_append_character is not implemented" unless Readline.respond_to?(:completion_append_character=) line = nil append_character = Readline.completion_append_character -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/