[前][次][番号順一覧][スレッド一覧]

ruby-changes:60221

From: aycabta <ko1@a...>
Date: Fri, 28 Feb 2020 19:28:35 +0900 (JST)
Subject: [ruby-changes:60221] 6df8cfb771 (master): Omit test_using_quoting_detection_proc_with_multibyte_input temporarily for random order test

https://git.ruby-lang.org/ruby.git/commit/?id=6df8cfb771

From 6df8cfb77198aef998cb05f04d1d6e9a6fe0ad49 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Fri, 28 Feb 2020 19:28:11 +0900
Subject: Omit test_using_quoting_detection_proc_with_multibyte_input
 temporarily for random order test


diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index 0d0eb04..0cab809 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -545,6 +545,7 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L545
   end
 
   def test_using_quoting_detection_proc_with_multibyte_input
+    omit 'temporary omit for random order'
     saved_completer_quote_characters = Readline.completer_quote_characters
     saved_completer_word_break_characters = Readline.completer_word_break_characters
     return unless Readline.respond_to?(:quoting_detection_proc=)
@@ -583,8 +584,8 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L584
     assert_equal('second\\ third', passed_text)
     assert_equal("\u3042\u3093 completion", line)
   ensure
-    Readline.completer_quote_characters = saved_completer_quote_characters
-    Readline.completer_word_break_characters = saved_completer_word_break_characters
+    Readline.completer_quote_characters = saved_completer_quote_characters if saved_completer_quote_characters
+    Readline.completer_word_break_characters = saved_completer_word_break_characters if saved_completer_word_break_characters
   end
 
   def test_simple_completion
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]