diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/enc/test_emoji_breaks.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/enc/test_emoji_breaks.rb b/test/ruby/enc/test_emoji_breaks.rb index 0a831bff93..5d22ba9185 100644 --- a/test/ruby/enc/test_emoji_breaks.rb +++ b/test/ruby/enc/test_emoji_breaks.rb @@ -105,6 +105,8 @@ TestEmojiBreaks.data_files_available? and class TestEmojiBreaks start = rand step start.step(by: step, to: length-1) do |t2| test2 = all_tests[t2] + # exclude skin tones, because they glue to previous grapheme clusters + next if (0x1F3FB..0x1F3FF).include? test2.string.ord expected = [test1.string, test2.string] actual = (test1.string+test2.string).each_grapheme_cluster.to_a assert_equal expected, actual, |