Skip to content

Commit

Permalink
test: update tag filter to use cheerful instead of happy
Browse files Browse the repository at this point in the history
  • Loading branch information
wax911 committed Mar 4, 2025
1 parent 30f63ba commit a5dc641
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions emojify/src/test/kotlin/io/wax911/emojify/EmojiManagerTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,23 @@ class EmojiManagerTest : EmojiLoader() {
// GIVEN

// WHEN
val emojis = emojiManager.getForTag("happy")
val emojis = emojiManager.getForTag("cheerful")

// THEN
assertEquals(1, emojis!!.size)
assertEquals(
listOf(
"gesture",
"hand",
"cheerful",
"cheery",
"face",
"grin",
"grinning",
"happy",
"raised",
"laugh",
"nice",
"smile",
"smiling",
"teeth",
),
emojis.mapNotNull(IEmoji::tags).flatten()
)
Expand Down

0 comments on commit a5dc641

Please # to comment.