Skip to content

Commit

Permalink
internal/emojilist: expand TestEmojiCounts to cover Unicode15
Browse files Browse the repository at this point in the history
This was missed in 187fb54.
  • Loading branch information
tmthrgd committed Sep 21, 2024
1 parent 1e8b9df commit 3da1a78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/emojilist/embed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ import (
func TestEmojiCounts(t *testing.T) {
// Expected count is taken from https://www.unicode.org/Public/emoji/N.M/emoji-test.txt.
assert.Equal(t, 3295, strings.Count(Unicode13, "\n")+1, "Unicode 13.0")
assert.Equal(t, 3655, strings.Count(Unicode15, "\n")+1, "Unicode 15.0")
}

0 comments on commit 3da1a78

Please sign in to comment.