@@ -31,9 +31,9 @@ void main() {
3131 group ('emojiDisplayFor' , () {
3232 test ('Unicode emoji' , () {
3333 check (eg.store ().emojiDisplayFor (emojiType: ReactionType .unicodeEmoji,
34- emojiCode: '1f642' , emojiName: 'smile ' )
34+ emojiCode: '1f642' , emojiName: 'slight_smile ' )
3535 ).isA <UnicodeEmojiDisplay >()
36- ..emojiName.equals ('smile ' )
36+ ..emojiName.equals ('slight_smile ' )
3737 ..emojiUnicode.equals ('🙂' );
3838 });
3939
@@ -317,13 +317,13 @@ void main() {
317317 final candidates1 = store.popularEmojiCandidates ();
318318 check (candidates1).isEmpty ();
319319
320- store.setServerEmojiData (eg.serverEmojiDataPopular );
320+ store.setServerEmojiData (eg.serverEmojiDataPopularLegacy );
321321 final candidates2 = store.popularEmojiCandidates ();
322322 check (candidates2)
323323 ..isNotEmpty ()
324324 ..not ((it) => it.identicalTo (candidates1));
325325
326- store.setServerEmojiData (eg.serverEmojiDataPopularModern );
326+ store.setServerEmojiData (eg.serverEmojiDataPopular );
327327 final candidates3 = store.popularEmojiCandidates ();
328328 check (candidates3)
329329 ..isNotEmpty ()
@@ -418,7 +418,7 @@ void main() {
418418 check (await resultsOf ('' )).deepEquals ([
419419 isUnicodeResult (names: ['+1' , 'thumbs_up' , 'like' ]),
420420 isUnicodeResult (names: ['tada' ]),
421- isUnicodeResult (names: ['smile ' ]),
421+ isUnicodeResult (names: ['slight_smile ' ]),
422422 isUnicodeResult (names: ['heart' , 'love' , 'love_you' ]),
423423 isUnicodeResult (names: ['working_on_it' , 'hammer_and_wrench' , 'tools' ]),
424424 isUnicodeResult (names: ['octopus' ]),
@@ -431,6 +431,7 @@ void main() {
431431 isUnicodeResult (names: ['tada' ]),
432432 isUnicodeResult (names: ['working_on_it' , 'hammer_and_wrench' , 'tools' ]),
433433 // other
434+ isUnicodeResult (names: ['slight_smile' ]),
434435 isUnicodeResult (names: ['heart' , 'love' , 'love_you' ]),
435436 isUnicodeResult (names: ['octopus' ]),
436437 ]);
@@ -441,6 +442,7 @@ void main() {
441442 isUnicodeResult (names: ['working_on_it' , 'hammer_and_wrench' , 'tools' ]),
442443 // other
443444 isUnicodeResult (names: ['+1' , 'thumbs_up' , 'like' ]),
445+ isUnicodeResult (names: ['slight_smile' ]),
444446 ]);
445447 });
446448
0 commit comments