зеркало из https://github.com/github/ruby.git
[ruby/readline-ext] Use omit
https://github.com/ruby/readline-ext/commit/f6dff0a9f6
This commit is contained in:
Родитель
07ab172ebe
Коммит
9110021fd2
|
@ -492,8 +492,8 @@ module BasetestReadline
|
||||||
saved_completer_word_break_characters = Readline.completer_word_break_characters
|
saved_completer_word_break_characters = Readline.completer_word_break_characters
|
||||||
|
|
||||||
# skip if previous value is nil because Readline... = nil is not allowed.
|
# skip if previous value is nil because Readline... = nil is not allowed.
|
||||||
skip unless saved_completer_quote_characters
|
omit "No completer_quote_characters" unless saved_completer_quote_characters
|
||||||
skip unless saved_completer_word_break_characters
|
omit "No completer_word_break_characters" unless saved_completer_word_break_characters
|
||||||
|
|
||||||
return unless Readline.respond_to?(:quoting_detection_proc=)
|
return unless Readline.respond_to?(:quoting_detection_proc=)
|
||||||
|
|
||||||
|
@ -535,8 +535,8 @@ module BasetestReadline
|
||||||
saved_completer_word_break_characters = Readline.completer_word_break_characters
|
saved_completer_word_break_characters = Readline.completer_word_break_characters
|
||||||
|
|
||||||
# skip if previous value is nil because Readline... = nil is not allowed.
|
# skip if previous value is nil because Readline... = nil is not allowed.
|
||||||
skip unless saved_completer_quote_characters
|
omit "No completer_quote_characters" unless saved_completer_quote_characters
|
||||||
skip unless saved_completer_word_break_characters
|
omit "No completer_word_break_characters" unless saved_completer_word_break_characters
|
||||||
|
|
||||||
return unless Readline.respond_to?(:quoting_detection_proc=)
|
return unless Readline.respond_to?(:quoting_detection_proc=)
|
||||||
unless get_default_internal_encoding == Encoding::UTF_8
|
unless get_default_internal_encoding == Encoding::UTF_8
|
||||||
|
|
Загрузка…
Ссылка в новой задаче