mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Check Unicode version of the normalization table
This commit is contained in:
parent
b4417ff665
commit
59c7b3840d
Notes:
git
2025-04-23 05:14:50 +00:00
2 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
||||||
# coding: us-ascii
|
# coding: us-ascii
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
Encoding::UNICODE_VERSION == "16.0.0" or
|
||||||
|
raise "Unicode version mismatch: 16.0.0 expected but #{Encoding::UNICODE_VERSION}"
|
||||||
|
|
||||||
# automatically generated by template/unicode_norm_gen.tmpl
|
# automatically generated by template/unicode_norm_gen.tmpl
|
||||||
|
|
||||||
module UnicodeNormalize # :nodoc:
|
module UnicodeNormalize # :nodoc:
|
||||||
|
|
|
@ -166,6 +166,9 @@ end
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
%# >
|
%# >
|
||||||
|
|
||||||
|
Encoding::UNICODE_VERSION == <%= unicode_version.dump %><%=%> or
|
||||||
|
raise "Unicode version mismatch: <%= unicode_version %> expected but #{Encoding::UNICODE_VERSION}"
|
||||||
|
|
||||||
# automatically generated by template/unicode_norm_gen.tmpl
|
# automatically generated by template/unicode_norm_gen.tmpl
|
||||||
|
|
||||||
module UnicodeNormalize # :nodoc:
|
module UnicodeNormalize # :nodoc:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue