File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ void main() {
343
343
344
344
test ('results update after query change' , () async {
345
345
final store = prepare (
346
- realmEmoji: {'1' : 'happy' }, unicodeEmoji: {'1f642 ' : ['smile ' ]});
346
+ realmEmoji: {'1' : 'happy' }, unicodeEmoji: {'1f516 ' : ['bookmark ' ]});
347
347
final view = EmojiAutocompleteView .init (store: store,
348
348
query: EmojiAutocompleteQuery ('hap' ));
349
349
bool done = false ;
@@ -354,11 +354,11 @@ void main() {
354
354
isRealmResult (emojiName: 'happy' ));
355
355
356
356
done = false ;
357
- view.query = EmojiAutocompleteQuery ('sm ' );
357
+ view.query = EmojiAutocompleteQuery ('bo ' );
358
358
await Future (() {});
359
359
check (done).isTrue ();
360
360
check (view.results).single.which (
361
- isUnicodeResult (names: ['smile ' ]));
361
+ isUnicodeResult (names: ['bookmark ' ]));
362
362
});
363
363
364
364
Future <Iterable <EmojiAutocompleteResult >> resultsOf (
You can’t perform that action at this time.
0 commit comments