diff options
author | aycabta <aycabta@gmail.com> | 2020-02-28 19:28:11 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2020-02-28 19:28:11 +0900 |
commit | 6df8cfb77198aef998cb05f04d1d6e9a6fe0ad49 (patch) | |
tree | d812de9a00fee4e1822e214da91de6ec86ec6850 /test/readline | |
parent | 6787ccf23837c50e51cb82813bb713fda052131e (diff) | |
download | ruby-6df8cfb77198aef998cb05f04d1d6e9a6fe0ad49.tar.gz |
Omit test_using_quoting_detection_proc_with_multibyte_input temporarily for random order test
Diffstat (limited to 'test/readline')
-rw-r--r-- | test/readline/test_readline.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb index 0d0eb04dc6..0cab809c49 100644 --- a/test/readline/test_readline.rb +++ b/test/readline/test_readline.rb @@ -545,6 +545,7 @@ module BasetestReadline 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 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 |