1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby/enc
nagachika 29eae8b1e9 merge revision(s) 65954,65955,65958: [Backport #15337]
Don't use single byte optimization on grapheme clusters

	Unicode Text Segmentation considers CRLF as a character. [Bug #15337]

	add tests using Unicode test data for grapheme clusters

	Add file test/ruby/enc/test_grapheme_breaks.rb to test String#each_grapheme_cluster
	and \X extended grapheme cluster matcher in regular expressions against test data
	provided by Unicode (ucd/auxiliary/GraphemeBreakTest.txt).

	Some lines in the data file are ignored, as follows:
	- Lines with a surrogate, because Ruby doesn't handle these
	- The case of "\r\n", because there is a bug (#15337) in the implementation

	remove guard against bug #15337, because it is fixed

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@66073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-28 13:36:08 +00:00
..
test_big5.rb
test_case_comprehensive.rb update unicode data files directory 2017-12-22 12:39:32 +00:00
test_case_mapping.rb add tests againts regressions for upcoming codepoint reordering in unfolding table 2016-12-03 07:18:41 +00:00
test_case_options.rb get rid of ambiguous parentheses warnings 2016-11-29 16:06:54 +00:00
test_cp949.rb
test_emoji.rb
test_euc_jp.rb
test_euc_kr.rb
test_euc_tw.rb
test_gb18030.rb
test_gbk.rb
test_grapheme_breaks.rb merge revision(s) 65954,65955,65958: [Backport #15337] 2018-11-28 13:36:08 +00:00
test_iso_8859.rb * enc/iso_8859_9.c, test/ruby/enc/test_case_comprehensive.rb: 2016-07-13 09:09:47 +00:00
test_koi8.rb
test_regex_casefold.rb fix unicode data directory 2017-12-23 00:30:33 +00:00
test_shift_jis.rb
test_utf16.rb test_utf16.rb: refine valid_encoding tests 2017-03-09 01:55:43 +00:00
test_utf32.rb fix UTF-32 valid_encoding? 2017-03-09 02:04:10 +00:00
test_windows_1251.rb
test_windows_1252.rb