Skip to content

Commit 2643cb7

Browse files
committed
Update presentation sequences to Unicode 17.0.0
1 parent ac9b2d2 commit 2643cb7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ fn main() {
7272
{
7373
let emoji_vs_list = Path::new(&out).join("emoji-variation-sequences.txt");
7474
if !std::fs::read_to_string(&emoji_vs_list)
75-
.is_ok_and(|text| text.contains("Emoji Version 16.0"))
75+
.is_ok_and(|text| text.contains("Emoji Version 17.0"))
7676
{
7777
let content = ureq::get(
78-
"https://www.unicode.org/Public/16.0.0/ucd/emoji/emoji-variation-sequences.txt",
78+
"https://www.unicode.org/Public/17.0.0/ucd/emoji/emoji-variation-sequences.txt",
7979
)
8080
.call()
8181
.unwrap()

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ mod test {
264264
assert!(
265265
are_all_variants_valid(SYM, |c| {
266266
// All emoji variation sequences are exactly 2 codepoints long
267-
// as of Unicode 16.0, so this doesn't miss anything.
267+
// as of Unicode 17.0, so this doesn't miss anything.
268268
!(c.chars().count() == 1
269269
&& require_presentation_selector.contains(&c.chars().next().unwrap()))
270270
}),
@@ -282,7 +282,7 @@ mod test {
282282
assert!(
283283
are_all_variants_valid(EMOJI, |c| {
284284
// All emoji variation sequences are exactly 2 codepoints long
285-
// as of Unicode 16.0, so this doesn't miss anything.
285+
// as of Unicode 17.0, so this doesn't miss anything.
286286
!(c.chars().count() == 1
287287
&& require_presentation_selector.contains(&c.chars().next().unwrap()))
288288
}),

0 commit comments

Comments
 (0)