mirror of
https://github.com/ruby/ruby.git
synced 2025-08-28 07:26:00 +02:00
Don't use single byte optimization on grapheme clusters
Unicode Text Segmentation considers CRLF as a character. [Bug #15337] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f33adbc11e
commit
7850586af4
2 changed files with 3 additions and 2 deletions
|
@ -973,6 +973,7 @@ CODE
|
|||
|
||||
def test_each_grapheme_cluster
|
||||
[
|
||||
"\u{0D 0A}",
|
||||
"\u{20 200d}",
|
||||
"\u{600 600}",
|
||||
"\u{600 20}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue