[前][次][番号順一覧][スレッド一覧]

ruby-changes:43232

From: duerst <ko1@a...>
Date: Tue, 7 Jun 2016 15:28:50 +0900 (JST)
Subject: [ruby-changes:43232] duerst:r55306 (trunk): * test/ruby/enc/test_case_comprehensive: Fix method name

duerst	2016-06-07 15:28:47 +0900 (Tue, 07 Jun 2016)

  New Revision: 55306

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55306

  Log:
    * test/ruby/enc/test_case_comprehensive: Fix method name
      (generate_casefold_tests -> generate_case_mapping_tests).

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/enc/test_case_comprehensive.rb
Index: test/ruby/enc/test_case_comprehensive.rb
===================================================================
--- test/ruby/enc/test_case_comprehensive.rb	(revision 55305)
+++ test/ruby/enc/test_case_comprehensive.rb	(revision 55306)
@@ -98,7 +98,7 @@ class TestComprehensiveCaseFold < Test:: https://github.com/ruby/ruby/blob/trunk/test/ruby/enc/test_case_comprehensive.rb#L98
     @@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:: https://github.com/ruby/ruby/blob/trunk/test/ruby/enc/test_case_comprehensive.rb#L136
     %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
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 55305)
+++ ChangeLog	(revision 55306)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Jun  7 15:28:38 2016  Martin Duerst  <duerst@i...>
+
+	* 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@i...>
 
 	* regenc.h/c: Rename onigenc_not_support_case_map to

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]