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