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 {
269269 . collect :: < HashSet < _ > > ( ) ;
270270 assert ! (
271271 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.
272274 !( c. chars( ) . count( ) == 1
273275 && require_presentation_selector. contains( & c. chars( ) . next( ) . unwrap( ) ) )
274276 } ) ,
@@ -285,6 +287,8 @@ mod test {
285287 . collect :: < HashSet < _ > > ( ) ;
286288 assert ! (
287289 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.
288292 !( c. chars( ) . count( ) == 1
289293 && require_presentation_selector. contains( & c. chars( ) . next( ) . unwrap( ) ) )
290294 } ) ,
You can’t perform that action at this time.
0 commit comments