1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/enc/test_case_comprehensive: Fix method name

(generate_casefold_tests -> generate_case_mapping_tests).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
duerst 2016-06-07 06:28:47 +00:00
parent fd7925ffa5
commit b5baea5f87
2 changed files with 13 additions and 8 deletions

View file

@ -1,3 +1,8 @@
Tue Jun 7 15:28:38 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
* test/ruby/enc/test_case_comprehensive: Fix method name
(generate_casefold_tests -> generate_case_mapping_tests).
Tue Jun 7 15:05:13 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
* regenc.h/c: Rename onigenc_not_support_case_map to

View file

@ -98,7 +98,7 @@ class TestComprehensiveCaseFold < Test::Unit::TestCase
@@tests ||= []
end
def self.generate_casefold_tests (encoding)
def self.generate_case_mapping_tests (encoding)
all_tests
# preselect codepoints to speed up testing for small encodings
codepoints = @@codepoints.select do |code|
@ -136,11 +136,11 @@ class TestComprehensiveCaseFold < Test::Unit::TestCase
%w[UnicodeData CaseFolding SpecialCasing].each { |f| check_file_available f }
end
generate_casefold_tests 'US-ASCII'
generate_casefold_tests 'ASCII-8BIT'
generate_casefold_tests 'UTF-8'
generate_casefold_tests 'UTF-16BE'
generate_casefold_tests 'UTF-16LE'
generate_casefold_tests 'UTF-32BE'
generate_casefold_tests 'UTF-32LE'
generate_case_mapping_tests 'US-ASCII'
generate_case_mapping_tests 'ASCII-8BIT'
generate_case_mapping_tests 'UTF-8'
generate_case_mapping_tests 'UTF-16BE'
generate_case_mapping_tests 'UTF-16LE'
generate_case_mapping_tests 'UTF-32BE'
generate_case_mapping_tests 'UTF-32LE'
end