File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,8 @@ mod test {
269
269
. collect :: < HashSet < _ > > ( ) ;
270
270
assert ! (
271
271
are_all_variants_valid( SYM , |c| {
272
+ // All text presentations are exactly 2 codepoints long as of Unicode 16.0.
273
+ // See https://github.com/typst/codex/pull/114#discussion_r2266318559.
272
274
!( c. chars( ) . count( ) == 1
273
275
&& require_presentation_selector. contains( & c. chars( ) . next( ) . unwrap( ) ) )
274
276
} ) ,
@@ -285,6 +287,8 @@ mod test {
285
287
. collect :: < HashSet < _ > > ( ) ;
286
288
assert ! (
287
289
are_all_variants_valid( EMOJI , |c| {
290
+ // All text presentations are exactly 2 codepoints long as of Unicode 16.0.
291
+ // See https://github.com/typst/codex/pull/114#discussion_r2266318559.
288
292
!( c. chars( ) . count( ) == 1
289
293
&& require_presentation_selector. contains( & c. chars( ) . next( ) . unwrap( ) ) )
290
294
} ) ,
You can’t perform that action at this time.
0 commit comments