1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Check wether Readline.completion_append_character= exists

This commit is contained in:
aycabta 2019-12-15 10:29:44 +09:00
parent b12bc3b046
commit 95213f6df6

View file

@ -608,7 +608,7 @@ module BasetestReadline
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