@@ -199,21 +199,15 @@ mod test {
199199 #[ test]
200200 fn symbols_are_not_emojis ( ) {
201201 assert ! (
202- are_all_variants_valid(
203- SYM ,
204- |c| !c. contains( EMOJI_PRESENTATION_SELECTOR ) ,
205- ) ,
202+ are_all_variants_valid( SYM , |c| !c. contains( EMOJI_PRESENTATION_SELECTOR ) ) ,
206203 "unexpected use of emoji presentation selector in `sym` (see list above)" ,
207204 )
208205 }
209206
210207 #[ test]
211208 fn emojis_are_not_text ( ) {
212209 assert ! (
213- are_all_variants_valid(
214- EMOJI ,
215- |c| !c. contains( TEXT_PRESENTATION_SELECTOR ) ,
216- ) ,
210+ are_all_variants_valid( EMOJI , |c| !c. contains( TEXT_PRESENTATION_SELECTOR ) ) ,
217211 "unexpected use of text presentation selector in `emoji` (see list above)" ,
218212 )
219213 }
@@ -270,7 +264,7 @@ mod test {
270264 assert ! (
271265 are_all_variants_valid( SYM , |c| {
272266 // All emoji variation sequences are exactly 2 codepoints long
273- // as of Unicode 16 .0, so this doesn't miss anything.
267+ // as of Unicode 17 .0, so this doesn't miss anything.
274268 !( c. chars( ) . count( ) == 1
275269 && require_presentation_selector. contains( & c. chars( ) . next( ) . unwrap( ) ) )
276270 } ) ,
@@ -288,7 +282,7 @@ mod test {
288282 assert ! (
289283 are_all_variants_valid( EMOJI , |c| {
290284 // All emoji variation sequences are exactly 2 codepoints long
291- // as of Unicode 16 .0, so this doesn't miss anything.
285+ // as of Unicode 17 .0, so this doesn't miss anything.
292286 !( c. chars( ) . count( ) == 1
293287 && require_presentation_selector. contains( & c. chars( ) . next( ) . unwrap( ) ) )
294288 } ) ,
0 commit comments