Check wether Readline.completion_append_character= exists

This commit is contained in:
aycabta 2019-12-15 10:29:44 +09:00
Родитель b12bc3b046
Коммит 95213f6df6
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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