ruby-changes:65286
From: Nobuyoshi <ko1@a...>
Date: Thu, 18 Feb 2021 21:19:30 +0900 (JST)
Subject: [ruby-changes:65286] 9110021fd2 (master): [ruby/readline-ext] Use omit
https://git.ruby-lang.org/ruby.git/commit/?id=9110021fd2 From 9110021fd220dc5fdd3937533db8620ba57ce386 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 18 Feb 2021 20:09:28 +0900 Subject: [ruby/readline-ext] Use omit https://github.com/ruby/readline-ext/commit/f6dff0a9f6 --- test/readline/test_readline.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb index 15064ff..80ef8bf 100644 --- a/test/readline/test_readline.rb +++ b/test/readline/test_readline.rb @@ -492,8 +492,8 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L492 saved_completer_word_break_characters = Readline.completer_word_break_characters # skip if previous value is nil because Readline... = nil is not allowed. - skip unless saved_completer_quote_characters - skip unless saved_completer_word_break_characters + omit "No completer_quote_characters" unless saved_completer_quote_characters + omit "No completer_word_break_characters" unless saved_completer_word_break_characters return unless Readline.respond_to?(:quoting_detection_proc=) @@ -535,8 +535,8 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L535 saved_completer_word_break_characters = Readline.completer_word_break_characters # skip if previous value is nil because Readline... = nil is not allowed. - skip unless saved_completer_quote_characters - skip unless saved_completer_word_break_characters + omit "No completer_quote_characters" unless saved_completer_quote_characters + omit "No completer_word_break_characters" unless saved_completer_word_break_characters return unless Readline.respond_to?(:quoting_detection_proc=) unless get_default_internal_encoding == Encoding::UTF_8 -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/