mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/enc/test_case_comprehensive.rb, test_regex_casefold.rb,
test/test_unicode_normalize.rb: Replace UNICODE_VERSION from UnicodeNormalize with RbConfig::CONFIG['UNICODE_VERSION'] from feature 12460. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
80a0c0f808
commit
4a41a0f7d6
4 changed files with 10 additions and 5 deletions
|
@ -1,11 +1,10 @@
|
|||
# Copyright Kimihito Matsui (松井 仁人) and Martin J. Dürst (duerst@it.aoyama.ac.jp)
|
||||
|
||||
require "test/unit"
|
||||
require 'unicode_normalize/normalize' # only for UNICODE_VERSION
|
||||
|
||||
class TestCaseFold < Test::Unit::TestCase
|
||||
|
||||
UNICODE_VERSION = UnicodeNormalize::UNICODE_VERSION
|
||||
UNICODE_VERSION = RbConfig::CONFIG['UNICODE_VERSION']
|
||||
CaseTest = Struct.new :source, :target, :kind, :line
|
||||
|
||||
def check_downcase_properties(expected, start, *flags)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue