diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:26:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:26:03 +0000 |
commit | 9918693037dce8aa4bb6f08741b6812923486c18 (patch) | |
tree | 21d2b40bec7e6a7ea664acee056eb3d08e15a1cf /vendor/unicode-ident/tests | |
parent | Releasing progress-linux version 1.75.0+dfsg1-5~progress7.99u1. (diff) | |
download | rustc-9918693037dce8aa4bb6f08741b6812923486c18.tar.xz rustc-9918693037dce8aa4bb6f08741b6812923486c18.zip |
Merging upstream version 1.76.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/unicode-ident/tests')
-rw-r--r-- | vendor/unicode-ident/tests/compare.rs | 3 | ||||
-rw-r--r-- | vendor/unicode-ident/tests/fst/xid_continue.fst | bin | 72750 -> 73249 bytes | |||
-rw-r--r-- | vendor/unicode-ident/tests/fst/xid_start.fst | bin | 64999 -> 65487 bytes | |||
-rw-r--r-- | vendor/unicode-ident/tests/static_size.rs | 8 | ||||
-rw-r--r-- | vendor/unicode-ident/tests/tables/tables.rs | 232 | ||||
-rw-r--r-- | vendor/unicode-ident/tests/trie/trie.rs | 59 |
6 files changed, 153 insertions, 149 deletions
diff --git a/vendor/unicode-ident/tests/compare.rs b/vendor/unicode-ident/tests/compare.rs index 764a7e756..14ee22fa5 100644 --- a/vendor/unicode-ident/tests/compare.rs +++ b/vendor/unicode-ident/tests/compare.rs @@ -14,6 +14,8 @@ fn compare_all_implementations() { let thought_to_be_continue = unicode_ident::is_xid_continue(ch); // unicode-xid + // FIXME: unicode-xid does not support Unicode 15.1.0 yet. + /* assert_eq!( thought_to_be_start, unicode_xid::UnicodeXID::is_xid_start(ch), @@ -24,6 +26,7 @@ fn compare_all_implementations() { unicode_xid::UnicodeXID::is_xid_continue(ch), "{ch:?}", ); + */ // ucd-trie assert_eq!( diff --git a/vendor/unicode-ident/tests/fst/xid_continue.fst b/vendor/unicode-ident/tests/fst/xid_continue.fst Binary files differindex 05e7b1aa2..3024c8189 100644 --- a/vendor/unicode-ident/tests/fst/xid_continue.fst +++ b/vendor/unicode-ident/tests/fst/xid_continue.fst diff --git a/vendor/unicode-ident/tests/fst/xid_start.fst b/vendor/unicode-ident/tests/fst/xid_start.fst Binary files differindex a5975b67e..3f5a46b16 100644 --- a/vendor/unicode-ident/tests/fst/xid_start.fst +++ b/vendor/unicode-ident/tests/fst/xid_start.fst diff --git a/vendor/unicode-ident/tests/static_size.rs b/vendor/unicode-ident/tests/static_size.rs index 610adf31b..2df35373c 100644 --- a/vendor/unicode-ident/tests/static_size.rs +++ b/vendor/unicode-ident/tests/static_size.rs @@ -13,7 +13,7 @@ fn test_size() { + size_of_val(&tables::TRIE_START) + size_of_val(&tables::TRIE_CONTINUE) + size_of_val(&tables::LEAF); - assert_eq!(10016, size); + assert_eq!(10080, size); } #[test] @@ -23,7 +23,7 @@ fn test_xid_size() { mod tables; let size = size_of_val(tables::XID_START) + size_of_val(tables::XID_CONTINUE); - assert_eq!(11528, size); + assert_eq!(11544, size); let _ = tables::BY_NAME; } @@ -70,7 +70,7 @@ fn test_trieset_size() { + size_of_val(tree3_level2) + size_of_val(tree3_level3); - assert_eq!(10208, start_size + continue_size); + assert_eq!(10200, start_size + continue_size); let _ = trie::BY_NAME; } @@ -80,7 +80,7 @@ fn test_fst_size() { let xid_start_fst = include_bytes!("fst/xid_start.fst"); let xid_continue_fst = include_bytes!("fst/xid_continue.fst"); let size = xid_start_fst.len() + xid_continue_fst.len(); - assert_eq!(137749, size); + assert_eq!(138736, size); } #[test] diff --git a/vendor/unicode-ident/tests/tables/tables.rs b/vendor/unicode-ident/tests/tables/tables.rs index 30aeee973..ba7b0612d 100644 --- a/vendor/unicode-ident/tests/tables/tables.rs +++ b/vendor/unicode-ident/tests/tables/tables.rs @@ -2,9 +2,9 @@ // // ucd-generate property-bool UCD --include XID_Start,XID_Continue // -// Unicode version: 15.0.0. +// Unicode version: 15.1.0. // -// ucd-generate 0.2.13 is available on crates.io. +// ucd-generate 0.3.0 is available on crates.io. pub const BY_NAME: &'static [(&'static str, &'static [(u32, u32)])] = &[ ("XID_Continue", XID_CONTINUE), ("XID_Start", XID_START), @@ -70,123 +70,123 @@ pub const XID_CONTINUE: &'static [(u32, u32)] = &[ (8016, 8023), (8025, 8025), (8027, 8027), (8029, 8029), (8031, 8061), (8064, 8116), (8118, 8124), (8126, 8126), (8130, 8132), (8134, 8140), (8144, 8147), (8150, 8155), (8160, 8172), (8178, 8180), (8182, 8188), - (8255, 8256), (8276, 8276), (8305, 8305), (8319, 8319), (8336, 8348), - (8400, 8412), (8417, 8417), (8421, 8432), (8450, 8450), (8455, 8455), - (8458, 8467), (8469, 8469), (8472, 8477), (8484, 8484), (8486, 8486), - (8488, 8488), (8490, 8505), (8508, 8511), (8517, 8521), (8526, 8526), - (8544, 8584), (11264, 11492), (11499, 11507), (11520, 11557), + (8204, 8205), (8255, 8256), (8276, 8276), (8305, 8305), (8319, 8319), + (8336, 8348), (8400, 8412), (8417, 8417), (8421, 8432), (8450, 8450), + (8455, 8455), (8458, 8467), (8469, 8469), (8472, 8477), (8484, 8484), + (8486, 8486), (8488, 8488), (8490, 8505), (8508, 8511), (8517, 8521), + (8526, 8526), (8544, 8584), (11264, 11492), (11499, 11507), (11520, 11557), (11559, 11559), (11565, 11565), (11568, 11623), (11631, 11631), (11647, 11670), (11680, 11686), (11688, 11694), (11696, 11702), (11704, 11710), (11712, 11718), (11720, 11726), (11728, 11734), (11736, 11742), (11744, 11775), (12293, 12295), (12321, 12335), (12337, 12341), (12344, 12348), (12353, 12438), (12441, 12442), - (12445, 12447), (12449, 12538), (12540, 12543), (12549, 12591), - (12593, 12686), (12704, 12735), (12784, 12799), (13312, 19903), - (19968, 42124), (42192, 42237), (42240, 42508), (42512, 42539), - (42560, 42607), (42612, 42621), (42623, 42737), (42775, 42783), - (42786, 42888), (42891, 42954), (42960, 42961), (42963, 42963), - (42965, 42969), (42994, 43047), (43052, 43052), (43072, 43123), - (43136, 43205), (43216, 43225), (43232, 43255), (43259, 43259), - (43261, 43309), (43312, 43347), (43360, 43388), (43392, 43456), - (43471, 43481), (43488, 43518), (43520, 43574), (43584, 43597), - (43600, 43609), (43616, 43638), (43642, 43714), (43739, 43741), - (43744, 43759), (43762, 43766), (43777, 43782), (43785, 43790), - (43793, 43798), (43808, 43814), (43816, 43822), (43824, 43866), - (43868, 43881), (43888, 44010), (44012, 44013), (44016, 44025), - (44032, 55203), (55216, 55238), (55243, 55291), (63744, 64109), - (64112, 64217), (64256, 64262), (64275, 64279), (64285, 64296), - (64298, 64310), (64312, 64316), (64318, 64318), (64320, 64321), - (64323, 64324), (64326, 64433), (64467, 64605), (64612, 64829), - (64848, 64911), (64914, 64967), (65008, 65017), (65024, 65039), - (65056, 65071), (65075, 65076), (65101, 65103), (65137, 65137), - (65139, 65139), (65143, 65143), (65145, 65145), (65147, 65147), - (65149, 65149), (65151, 65276), (65296, 65305), (65313, 65338), - (65343, 65343), (65345, 65370), (65382, 65470), (65474, 65479), - (65482, 65487), (65490, 65495), (65498, 65500), (65536, 65547), - (65549, 65574), (65576, 65594), (65596, 65597), (65599, 65613), - (65616, 65629), (65664, 65786), (65856, 65908), (66045, 66045), - (66176, 66204), (66208, 66256), (66272, 66272), (66304, 66335), - (66349, 66378), (66384, 66426), (66432, 66461), (66464, 66499), - (66504, 66511), (66513, 66517), (66560, 66717), (66720, 66729), - (66736, 66771), (66776, 66811), (66816, 66855), (66864, 66915), - (66928, 66938), (66940, 66954), (66956, 66962), (66964, 66965), - (66967, 66977), (66979, 66993), (66995, 67001), (67003, 67004), - (67072, 67382), (67392, 67413), (67424, 67431), (67456, 67461), - (67463, 67504), (67506, 67514), (67584, 67589), (67592, 67592), - (67594, 67637), (67639, 67640), (67644, 67644), (67647, 67669), - (67680, 67702), (67712, 67742), (67808, 67826), (67828, 67829), - (67840, 67861), (67872, 67897), (67968, 68023), (68030, 68031), - (68096, 68099), (68101, 68102), (68108, 68115), (68117, 68119), - (68121, 68149), (68152, 68154), (68159, 68159), (68192, 68220), - (68224, 68252), (68288, 68295), (68297, 68326), (68352, 68405), - (68416, 68437), (68448, 68466), (68480, 68497), (68608, 68680), - (68736, 68786), (68800, 68850), (68864, 68903), (68912, 68921), - (69248, 69289), (69291, 69292), (69296, 69297), (69373, 69404), - (69415, 69415), (69424, 69456), (69488, 69509), (69552, 69572), - (69600, 69622), (69632, 69702), (69734, 69749), (69759, 69818), - (69826, 69826), (69840, 69864), (69872, 69881), (69888, 69940), - (69942, 69951), (69956, 69959), (69968, 70003), (70006, 70006), - (70016, 70084), (70089, 70092), (70094, 70106), (70108, 70108), - (70144, 70161), (70163, 70199), (70206, 70209), (70272, 70278), - (70280, 70280), (70282, 70285), (70287, 70301), (70303, 70312), - (70320, 70378), (70384, 70393), (70400, 70403), (70405, 70412), - (70415, 70416), (70419, 70440), (70442, 70448), (70450, 70451), - (70453, 70457), (70459, 70468), (70471, 70472), (70475, 70477), - (70480, 70480), (70487, 70487), (70493, 70499), (70502, 70508), - (70512, 70516), (70656, 70730), (70736, 70745), (70750, 70753), - (70784, 70853), (70855, 70855), (70864, 70873), (71040, 71093), - (71096, 71104), (71128, 71133), (71168, 71232), (71236, 71236), - (71248, 71257), (71296, 71352), (71360, 71369), (71424, 71450), - (71453, 71467), (71472, 71481), (71488, 71494), (71680, 71738), - (71840, 71913), (71935, 71942), (71945, 71945), (71948, 71955), - (71957, 71958), (71960, 71989), (71991, 71992), (71995, 72003), - (72016, 72025), (72096, 72103), (72106, 72151), (72154, 72161), - (72163, 72164), (72192, 72254), (72263, 72263), (72272, 72345), - (72349, 72349), (72368, 72440), (72704, 72712), (72714, 72758), - (72760, 72768), (72784, 72793), (72818, 72847), (72850, 72871), - (72873, 72886), (72960, 72966), (72968, 72969), (72971, 73014), - (73018, 73018), (73020, 73021), (73023, 73031), (73040, 73049), - (73056, 73061), (73063, 73064), (73066, 73102), (73104, 73105), - (73107, 73112), (73120, 73129), (73440, 73462), (73472, 73488), - (73490, 73530), (73534, 73538), (73552, 73561), (73648, 73648), - (73728, 74649), (74752, 74862), (74880, 75075), (77712, 77808), - (77824, 78895), (78912, 78933), (82944, 83526), (92160, 92728), - (92736, 92766), (92768, 92777), (92784, 92862), (92864, 92873), - (92880, 92909), (92912, 92916), (92928, 92982), (92992, 92995), - (93008, 93017), (93027, 93047), (93053, 93071), (93760, 93823), - (93952, 94026), (94031, 94087), (94095, 94111), (94176, 94177), - (94179, 94180), (94192, 94193), (94208, 100343), (100352, 101589), - (101632, 101640), (110576, 110579), (110581, 110587), (110589, 110590), - (110592, 110882), (110898, 110898), (110928, 110930), (110933, 110933), - (110948, 110951), (110960, 111355), (113664, 113770), (113776, 113788), - (113792, 113800), (113808, 113817), (113821, 113822), (118528, 118573), - (118576, 118598), (119141, 119145), (119149, 119154), (119163, 119170), - (119173, 119179), (119210, 119213), (119362, 119364), (119808, 119892), - (119894, 119964), (119966, 119967), (119970, 119970), (119973, 119974), - (119977, 119980), (119982, 119993), (119995, 119995), (119997, 120003), - (120005, 120069), (120071, 120074), (120077, 120084), (120086, 120092), - (120094, 120121), (120123, 120126), (120128, 120132), (120134, 120134), - (120138, 120144), (120146, 120485), (120488, 120512), (120514, 120538), - (120540, 120570), (120572, 120596), (120598, 120628), (120630, 120654), - (120656, 120686), (120688, 120712), (120714, 120744), (120746, 120770), - (120772, 120779), (120782, 120831), (121344, 121398), (121403, 121452), - (121461, 121461), (121476, 121476), (121499, 121503), (121505, 121519), - (122624, 122654), (122661, 122666), (122880, 122886), (122888, 122904), - (122907, 122913), (122915, 122916), (122918, 122922), (122928, 122989), - (123023, 123023), (123136, 123180), (123184, 123197), (123200, 123209), - (123214, 123214), (123536, 123566), (123584, 123641), (124112, 124153), - (124896, 124902), (124904, 124907), (124909, 124910), (124912, 124926), - (124928, 125124), (125136, 125142), (125184, 125259), (125264, 125273), - (126464, 126467), (126469, 126495), (126497, 126498), (126500, 126500), - (126503, 126503), (126505, 126514), (126516, 126519), (126521, 126521), - (126523, 126523), (126530, 126530), (126535, 126535), (126537, 126537), - (126539, 126539), (126541, 126543), (126545, 126546), (126548, 126548), - (126551, 126551), (126553, 126553), (126555, 126555), (126557, 126557), - (126559, 126559), (126561, 126562), (126564, 126564), (126567, 126570), - (126572, 126578), (126580, 126583), (126585, 126588), (126590, 126590), - (126592, 126601), (126603, 126619), (126625, 126627), (126629, 126633), - (126635, 126651), (130032, 130041), (131072, 173791), (173824, 177977), - (177984, 178205), (178208, 183969), (183984, 191456), (194560, 195101), + (12445, 12447), (12449, 12543), (12549, 12591), (12593, 12686), + (12704, 12735), (12784, 12799), (13312, 19903), (19968, 42124), + (42192, 42237), (42240, 42508), (42512, 42539), (42560, 42607), + (42612, 42621), (42623, 42737), (42775, 42783), (42786, 42888), + (42891, 42954), (42960, 42961), (42963, 42963), (42965, 42969), + (42994, 43047), (43052, 43052), (43072, 43123), (43136, 43205), + (43216, 43225), (43232, 43255), (43259, 43259), (43261, 43309), + (43312, 43347), (43360, 43388), (43392, 43456), (43471, 43481), + (43488, 43518), (43520, 43574), (43584, 43597), (43600, 43609), + (43616, 43638), (43642, 43714), (43739, 43741), (43744, 43759), + (43762, 43766), (43777, 43782), (43785, 43790), (43793, 43798), + (43808, 43814), (43816, 43822), (43824, 43866), (43868, 43881), + (43888, 44010), (44012, 44013), (44016, 44025), (44032, 55203), + (55216, 55238), (55243, 55291), (63744, 64109), (64112, 64217), + (64256, 64262), (64275, 64279), (64285, 64296), (64298, 64310), + (64312, 64316), (64318, 64318), (64320, 64321), (64323, 64324), + (64326, 64433), (64467, 64605), (64612, 64829), (64848, 64911), + (64914, 64967), (65008, 65017), (65024, 65039), (65056, 65071), + (65075, 65076), (65101, 65103), (65137, 65137), (65139, 65139), + (65143, 65143), (65145, 65145), (65147, 65147), (65149, 65149), + (65151, 65276), (65296, 65305), (65313, 65338), (65343, 65343), + (65345, 65370), (65381, 65470), (65474, 65479), (65482, 65487), + (65490, 65495), (65498, 65500), (65536, 65547), (65549, 65574), + (65576, 65594), (65596, 65597), (65599, 65613), (65616, 65629), + (65664, 65786), (65856, 65908), (66045, 66045), (66176, 66204), + (66208, 66256), (66272, 66272), (66304, 66335), (66349, 66378), + (66384, 66426), (66432, 66461), (66464, 66499), (66504, 66511), + (66513, 66517), (66560, 66717), (66720, 66729), (66736, 66771), + (66776, 66811), (66816, 66855), (66864, 66915), (66928, 66938), + (66940, 66954), (66956, 66962), (66964, 66965), (66967, 66977), + (66979, 66993), (66995, 67001), (67003, 67004), (67072, 67382), + (67392, 67413), (67424, 67431), (67456, 67461), (67463, 67504), + (67506, 67514), (67584, 67589), (67592, 67592), (67594, 67637), + (67639, 67640), (67644, 67644), (67647, 67669), (67680, 67702), + (67712, 67742), (67808, 67826), (67828, 67829), (67840, 67861), + (67872, 67897), (67968, 68023), (68030, 68031), (68096, 68099), + (68101, 68102), (68108, 68115), (68117, 68119), (68121, 68149), + (68152, 68154), (68159, 68159), (68192, 68220), (68224, 68252), + (68288, 68295), (68297, 68326), (68352, 68405), (68416, 68437), + (68448, 68466), (68480, 68497), (68608, 68680), (68736, 68786), + (68800, 68850), (68864, 68903), (68912, 68921), (69248, 69289), + (69291, 69292), (69296, 69297), (69373, 69404), (69415, 69415), + (69424, 69456), (69488, 69509), (69552, 69572), (69600, 69622), + (69632, 69702), (69734, 69749), (69759, 69818), (69826, 69826), + (69840, 69864), (69872, 69881), (69888, 69940), (69942, 69951), + (69956, 69959), (69968, 70003), (70006, 70006), (70016, 70084), + (70089, 70092), (70094, 70106), (70108, 70108), (70144, 70161), + (70163, 70199), (70206, 70209), (70272, 70278), (70280, 70280), + (70282, 70285), (70287, 70301), (70303, 70312), (70320, 70378), + (70384, 70393), (70400, 70403), (70405, 70412), (70415, 70416), + (70419, 70440), (70442, 70448), (70450, 70451), (70453, 70457), + (70459, 70468), (70471, 70472), (70475, 70477), (70480, 70480), + (70487, 70487), (70493, 70499), (70502, 70508), (70512, 70516), + (70656, 70730), (70736, 70745), (70750, 70753), (70784, 70853), + (70855, 70855), (70864, 70873), (71040, 71093), (71096, 71104), + (71128, 71133), (71168, 71232), (71236, 71236), (71248, 71257), + (71296, 71352), (71360, 71369), (71424, 71450), (71453, 71467), + (71472, 71481), (71488, 71494), (71680, 71738), (71840, 71913), + (71935, 71942), (71945, 71945), (71948, 71955), (71957, 71958), + (71960, 71989), (71991, 71992), (71995, 72003), (72016, 72025), + (72096, 72103), (72106, 72151), (72154, 72161), (72163, 72164), + (72192, 72254), (72263, 72263), (72272, 72345), (72349, 72349), + (72368, 72440), (72704, 72712), (72714, 72758), (72760, 72768), + (72784, 72793), (72818, 72847), (72850, 72871), (72873, 72886), + (72960, 72966), (72968, 72969), (72971, 73014), (73018, 73018), + (73020, 73021), (73023, 73031), (73040, 73049), (73056, 73061), + (73063, 73064), (73066, 73102), (73104, 73105), (73107, 73112), + (73120, 73129), (73440, 73462), (73472, 73488), (73490, 73530), + (73534, 73538), (73552, 73561), (73648, 73648), (73728, 74649), + (74752, 74862), (74880, 75075), (77712, 77808), (77824, 78895), + (78912, 78933), (82944, 83526), (92160, 92728), (92736, 92766), + (92768, 92777), (92784, 92862), (92864, 92873), (92880, 92909), + (92912, 92916), (92928, 92982), (92992, 92995), (93008, 93017), + (93027, 93047), (93053, 93071), (93760, 93823), (93952, 94026), + (94031, 94087), (94095, 94111), (94176, 94177), (94179, 94180), + (94192, 94193), (94208, 100343), (100352, 101589), (101632, 101640), + (110576, 110579), (110581, 110587), (110589, 110590), (110592, 110882), + (110898, 110898), (110928, 110930), (110933, 110933), (110948, 110951), + (110960, 111355), (113664, 113770), (113776, 113788), (113792, 113800), + (113808, 113817), (113821, 113822), (118528, 118573), (118576, 118598), + (119141, 119145), (119149, 119154), (119163, 119170), (119173, 119179), + (119210, 119213), (119362, 119364), (119808, 119892), (119894, 119964), + (119966, 119967), (119970, 119970), (119973, 119974), (119977, 119980), + (119982, 119993), (119995, 119995), (119997, 120003), (120005, 120069), + (120071, 120074), (120077, 120084), (120086, 120092), (120094, 120121), + (120123, 120126), (120128, 120132), (120134, 120134), (120138, 120144), + (120146, 120485), (120488, 120512), (120514, 120538), (120540, 120570), + (120572, 120596), (120598, 120628), (120630, 120654), (120656, 120686), + (120688, 120712), (120714, 120744), (120746, 120770), (120772, 120779), + (120782, 120831), (121344, 121398), (121403, 121452), (121461, 121461), + (121476, 121476), (121499, 121503), (121505, 121519), (122624, 122654), + (122661, 122666), (122880, 122886), (122888, 122904), (122907, 122913), + (122915, 122916), (122918, 122922), (122928, 122989), (123023, 123023), + (123136, 123180), (123184, 123197), (123200, 123209), (123214, 123214), + (123536, 123566), (123584, 123641), (124112, 124153), (124896, 124902), + (124904, 124907), (124909, 124910), (124912, 124926), (124928, 125124), + (125136, 125142), (125184, 125259), (125264, 125273), (126464, 126467), + (126469, 126495), (126497, 126498), (126500, 126500), (126503, 126503), + (126505, 126514), (126516, 126519), (126521, 126521), (126523, 126523), + (126530, 126530), (126535, 126535), (126537, 126537), (126539, 126539), + (126541, 126543), (126545, 126546), (126548, 126548), (126551, 126551), + (126553, 126553), (126555, 126555), (126557, 126557), (126559, 126559), + (126561, 126562), (126564, 126564), (126567, 126570), (126572, 126578), + (126580, 126583), (126585, 126588), (126590, 126590), (126592, 126601), + (126603, 126619), (126625, 126627), (126629, 126633), (126635, 126651), + (130032, 130041), (131072, 173791), (173824, 177977), (177984, 178205), + (178208, 183969), (183984, 191456), (191472, 192093), (194560, 195101), (196608, 201546), (201552, 205743), (917760, 917999), ]; @@ -342,6 +342,6 @@ pub const XID_START: &'static [(u32, u32)] = &[ (126567, 126570), (126572, 126578), (126580, 126583), (126585, 126588), (126590, 126590), (126592, 126601), (126603, 126619), (126625, 126627), (126629, 126633), (126635, 126651), (131072, 173791), (173824, 177977), - (177984, 178205), (178208, 183969), (183984, 191456), (194560, 195101), - (196608, 201546), (201552, 205743), + (177984, 178205), (178208, 183969), (183984, 191456), (191472, 192093), + (194560, 195101), (196608, 201546), (201552, 205743), ]; diff --git a/vendor/unicode-ident/tests/trie/trie.rs b/vendor/unicode-ident/tests/trie/trie.rs index 821e7cb0f..fc805f497 100644 --- a/vendor/unicode-ident/tests/trie/trie.rs +++ b/vendor/unicode-ident/tests/trie/trie.rs @@ -2,9 +2,9 @@ // // ucd-generate property-bool UCD --include XID_Start,XID_Continue --trie-set // -// Unicode version: 15.0.0. +// Unicode version: 15.1.0. // -// ucd-generate 0.2.13 is available on crates.io. +// ucd-generate 0.3.0 is available on crates.io. pub const BY_NAME: &'static [(&'static str, &'static ::ucd_trie::TrieSet)] = &[ ("XID_Continue", XID_CONTINUE), ("XID_Start", XID_START), @@ -33,7 +33,7 @@ pub const XID_CONTINUE: &'static ::ucd_trie::TrieSet = &::ucd_trie::TrieSet { 75, 76, 77, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 4, 4, 4, 79, 80, 81, 82, 83, 78, 78, 78, - 78, 78, 78, 78, 78, 84, 42, 85, 86, 87, 4, 88, 89, 78, 78, 78, 78, 78, 78, + 78, 78, 78, 78, 78, 84, 42, 85, 4, 86, 4, 87, 88, 78, 78, 78, 78, 78, 78, 78, 78, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, @@ -52,15 +52,15 @@ pub const XID_CONTINUE: &'static ::ucd_trie::TrieSet = &::ucd_trie::TrieSet { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,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78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, @@ -68,8 +68,8 @@ pub const XID_CONTINUE: &'static ::ucd_trie::TrieSet = &::ucd_trie::TrieSet { 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, - 78, 78, 78, 78, 4, 4, 4, 4, 4, 100, 4, 111, 112, 113, 94, 114, 4, 115, 4, - 4, 116, 117, 118, 119, 120, 121, 4, 122, 123, 124, 125, 126, + 78, 78, 78, 78, 4, 4, 4, 4, 4, 99, 4, 110, 111, 112, 93, 113, 4, 114, 4, + 4, 115, 116, 117, 118, 119, 120, 4, 121, 122, 123, 124, 125, ], tree2_level2: &[ 0x3FFFFFFFFFFF, 0xFFFF07FF0FFFFFFF, 0xFFFFFFFFFF007EFF, @@ -92,13 +92,13 @@ pub const XID_CONTINUE: &'static ::ucd_trie::TrieSet = &::ucd_trie::TrieSet { 0x7FFF, 0xFF80003FF1FFF, 0xFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFF, 0x3FFFFFFFFFFFE3FF, 0xE7FFFFFFFFFF01FF, 0x7FFFFFFFFF70000, 0xFFFFFFFF3F3FFFFF, 0x3FFFFFFFAAFF3F3F, 0x5FDFFFFFFFFFFFFF, - 0x1FDC1FFF0FCF1FDC, 0x8000000000000000, 0x8002000000100001, 0x1FFF0000, + 0x1FDC1FFF0FCF1FDC, 0x8000000000003000, 0x8002000000100001, 0x1FFF0000, 0x1FFE21FFF0000, 0xF3FFFD503F2FFC84, 0xFFFFFFFF000043E0, 0x1FF, 0, 0xFF81FFFFFFFFF, 0xFFFF20BFFFFFFFFF, 0x800080FFFFFFFFFF, 0x7F7F7F7F007FFFFF, 0xFFFFFFFF7F7F7F7F, 0x1F3EFFFE000000E0, - 0xFFFFFFFEE67FFFFF, 0xF7FFFFFFFFFFFFFF, 0xFFFEFFFFFFFFFFE0, - 0xFFFFFFFF00007FFF, 0xFFFF000000000000, 0x1FFF, 0x3FFFFFFFFFFF0000, - 0xFFFFFFF1FFF, 0xBFF0FFFFFFFFFFFF, 0x3FFFFFFFFFFFF, 0xFFFFFFFCFF800000, + 0xFFFFFFFEE67FFFFF, 0xFFFEFFFFFFFFFFE0, 0xFFFFFFFF00007FFF, + 0xFFFF000000000000, 0x1FFF, 0x3FFFFFFFFFFF0000, 0xFFFFFFF1FFF, + 0xBFF0FFFFFFFFFFFF, 0x3FFFFFFFFFFFF, 0xFFFFFFFCFF800000, 0xFFFFFFFFFFFFF9FF, 0xFFFC000003EB07FF, 0x10FFFFFFFFFF, 0xE8FFFFFF03FF003F, 0xFFFF3FFFFFFFFFFF, 0x1FFFFFFF000FFFFF, 0x7FFFFFFF03FF8001, 0x7FFFFFFFFFFFFF, 0xFC7FFFFF03FF3FFF, @@ -108,7 +108,7 @@ pub const XID_CONTINUE: &'static ::ucd_trie::TrieSet = &::ucd_trie::TrieSet { 0xFFFFFFF03FFFFFFF, 0x3FFFFFFFFFFFFFFF, 0xFFFFFFFFFFFF0000, 0xFFFFFFFFFFFCFFFF, 0x3FF0000000000FF, 0x18FFFF0000FFFF, 0xAA8A00000000E000, 0x1FFFFFFFFFFFFFFF, 0x87FFFFFE03FF0000, - 0xFFFFFFC007FFFFFE, 0x7FFFFFFFFFFFFFFF, 0x1CFCFCFC, + 0xFFFFFFE007FFFFFE, 0x7FFFFFFFFFFFFFFF, 0x1CFCFCFC, ], tree3_level1: &[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 5, 9, 10, 11, 12, 13, 14, 7, 7, 7, 7, 7, 7, 7, @@ -174,18 +174,18 @@ pub const XID_CONTINUE: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