diff options
author | aycabta <[email protected]> | 2021-07-07 20:23:39 +0900 |
---|---|---|
committer | aycabta <[email protected]> | 2021-07-30 02:27:02 +0900 |
commit | 5313d234e01b5f34f969be265ec2cea7e921f9ae (patch) | |
tree | f05ec8faf28b0c11b4917588db2b3a5626eeb05b /test/reline/test_key_actor_emacs.rb | |
parent | b0633ee4b313300028901c50a1bda2aca28f69d4 (diff) |
[ruby/reline] Use "omit" instead of "return"
https://github.com/ruby/reline/commit/940cdaa301
Diffstat (limited to 'test/reline/test_key_actor_emacs.rb')
-rw-r--r-- | test/reline/test_key_actor_emacs.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/reline/test_key_actor_emacs.rb b/test/reline/test_key_actor_emacs.rb index 77585cb690..087fd1d153 100644 --- a/test/reline/test_key_actor_emacs.rb +++ b/test/reline/test_key_actor_emacs.rb @@ -2141,7 +2141,7 @@ class Reline::KeyActor::Emacs::Test < Reline::TestCase # Unicode emoji test def test_ed_insert_for_include_zwj_emoji - return if Reline::IOGate.encoding != Encoding::UTF_8 + omit "This test is for UTF-8 but the locale is #{Reline::IOGate.encoding}" if Reline::IOGate.encoding != Encoding::UTF_8 # U+1F468 U+200D U+1F469 U+200D U+1F467 U+200D U+1F466 is family: man, woman, girl, boy "๐จโ๐ฉโ๐งโ๐ฆ" input_keys("\u{1F468}") # U+1F468 is man "๐จ" assert_line("\u{1F468}") @@ -2187,7 +2187,7 @@ class Reline::KeyActor::Emacs::Test < Reline::TestCase end def test_ed_insert_for_include_valiation_selector - return if Reline::IOGate.encoding != Encoding::UTF_8 + omit "This test is for UTF-8 but the locale is #{Reline::IOGate.encoding}" if Reline::IOGate.encoding != Encoding::UTF_8 # U+0030 U+FE00 is DIGIT ZERO + VARIATION SELECTOR-1 "0๏ธ" input_keys("\u0030") # U+0030 is DIGIT ZERO assert_line("\u0030") |