зеркало из https://github.com/github/ruby.git
Fix return condition according to the condition to skip
This commit is contained in:
Родитель
a1713bedb1
Коммит
64ce658ec5
|
@ -631,7 +631,7 @@ module BasetestReadline
|
|||
assert_equal('abcde!', line)
|
||||
ensure
|
||||
return if /EditLine/n.match(Readline::VERSION)
|
||||
return if defined?(Reline) and Readline == Reline
|
||||
return unless Readline.respond_to?(:completion_append_character=)
|
||||
Readline.completion_append_character = append_character
|
||||
end
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче