@@ -31,9 +31,9 @@ void main() {
31
31
group ('emojiDisplayFor' , () {
32
32
test ('Unicode emoji' , () {
33
33
check (eg.store ().emojiDisplayFor (emojiType: ReactionType .unicodeEmoji,
34
- emojiCode: '1f642' , emojiName: 'smile ' )
34
+ emojiCode: '1f642' , emojiName: 'slight_smile ' )
35
35
).isA <UnicodeEmojiDisplay >()
36
- ..emojiName.equals ('smile ' )
36
+ ..emojiName.equals ('slight_smile ' )
37
37
..emojiUnicode.equals ('🙂' );
38
38
});
39
39
@@ -317,13 +317,13 @@ void main() {
317
317
final candidates1 = store.popularEmojiCandidates ();
318
318
check (candidates1).isEmpty ();
319
319
320
- store.setServerEmojiData (eg.serverEmojiDataPopular );
320
+ store.setServerEmojiData (eg.serverEmojiDataPopularLegacy );
321
321
final candidates2 = store.popularEmojiCandidates ();
322
322
check (candidates2)
323
323
..isNotEmpty ()
324
324
..not ((it) => it.identicalTo (candidates1));
325
325
326
- store.setServerEmojiData (eg.serverEmojiDataPopularModern );
326
+ store.setServerEmojiData (eg.serverEmojiDataPopular );
327
327
final candidates3 = store.popularEmojiCandidates ();
328
328
check (candidates3)
329
329
..isNotEmpty ()
@@ -418,7 +418,7 @@ void main() {
418
418
check (await resultsOf ('' )).deepEquals ([
419
419
isUnicodeResult (names: ['+1' , 'thumbs_up' , 'like' ]),
420
420
isUnicodeResult (names: ['tada' ]),
421
- isUnicodeResult (names: ['smile ' ]),
421
+ isUnicodeResult (names: ['slight_smile ' ]),
422
422
isUnicodeResult (names: ['heart' , 'love' , 'love_you' ]),
423
423
isUnicodeResult (names: ['working_on_it' , 'hammer_and_wrench' , 'tools' ]),
424
424
isUnicodeResult (names: ['octopus' ]),
@@ -431,6 +431,7 @@ void main() {
431
431
isUnicodeResult (names: ['tada' ]),
432
432
isUnicodeResult (names: ['working_on_it' , 'hammer_and_wrench' , 'tools' ]),
433
433
// other
434
+ isUnicodeResult (names: ['slight_smile' ]),
434
435
isUnicodeResult (names: ['heart' , 'love' , 'love_you' ]),
435
436
isUnicodeResult (names: ['octopus' ]),
436
437
]);
@@ -441,6 +442,7 @@ void main() {
441
442
isUnicodeResult (names: ['working_on_it' , 'hammer_and_wrench' , 'tools' ]),
442
443
// other
443
444
isUnicodeResult (names: ['+1' , 'thumbs_up' , 'like' ]),
445
+ isUnicodeResult (names: ['slight_smile' ]),
444
446
]);
445
447
});
446
448
0 commit comments