mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix return condition according to the condition to skip
This commit is contained in:
parent
a1713bedb1
commit
64ce658ec5
1 changed files with 1 additions and 1 deletions
|
@ -631,7 +631,7 @@ module BasetestReadline
|
||||||
assert_equal('abcde!', line)
|
assert_equal('abcde!', line)
|
||||||
ensure
|
ensure
|
||||||
return if /EditLine/n.match(Readline::VERSION)
|
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
|
Readline.completion_append_character = append_character
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue