diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-02 10:07:42 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-02 10:07:42 +0000 |
commit | a96a594f9978b28d2d374f4a0fc15f5a2224df9b (patch) | |
tree | 632d96c10fc85d54abc444cb177b07255cfccd61 /test | |
parent | 1752d13827392df756389f65dfc82bc2a0416fc7 (diff) | |
download | ruby-a96a594f9978b28d2d374f4a0fc15f5a2224df9b.tar.gz |
solve the genie/zombie/wrestlers bug
enc/unicode.c: - Add U+1F93C (WRESTLERS), U+1F9DE (GENIE), and U+1F9DF
to onigenc_unicode_GCB_ranges_E_Base.
- Add comments with character names.
test/ruby/enc/test_emoji_breaks.rb: Activate tests for genie/zombie/wrestlers.
This closes issue #15343.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/enc/test_emoji_breaks.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/ruby/enc/test_emoji_breaks.rb b/test/ruby/enc/test_emoji_breaks.rb index 78aa5db88f..932dda35fa 100644 --- a/test/ruby/enc/test_emoji_breaks.rb +++ b/test/ruby/enc/test_emoji_breaks.rb @@ -25,9 +25,6 @@ class BreakTest # raise ArgumentError if 0xD800 <= c and c <= 0xDFFF c.chr('UTF-8') end.join - raise ArgumentError if data.match? /genie/ or comment.match? /genie/ - raise ArgumentError if data.match? /zombie/ or comment.match? /zombie/ - raise ArgumentError if data.match? /wrestling/ or comment.match? /wrestling/ end end |