Check Unicode version of the normalization table

This commit is contained in:
Nobuyoshi Nakada 2025-04-23 12:58:09 +09:00 committed by Nobuyoshi Nakada
parent b4417ff665
commit 59c7b3840d
Notes: git 2025-04-23 05:14:50 +00:00
2 changed files with 6 additions and 0 deletions

View file

@ -1,6 +1,9 @@
# coding: us-ascii
# 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
module UnicodeNormalize # :nodoc:

View file

@ -166,6 +166,9 @@ end
# 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
module UnicodeNormalize # :nodoc: