fix analysis

This commit is contained in:
Salvatore Giordano
2021-09-29 16:53:29 +02:00
parent 2bf88bfe0d
commit aa6fc06402
2 changed files with 1 additions and 2 deletions
@@ -57,7 +57,7 @@ typedef AttachmentThumbnailBuilder = Widget Function(
); );
/// Builder function for building a mention tile /// Builder function for building a mention tile
/// Use [MentionTile] for the default implementation /// Use [UserMentionTile] for the default implementation
typedef MentionTileBuilder = Widget Function( typedef MentionTileBuilder = Widget Function(
BuildContext context, BuildContext context,
Member member, Member member,
@@ -9,7 +9,6 @@ void main() {
final thierry = User(id: 'thierry', name: 'Thierry'); final thierry = User(id: 'thierry', name: 'Thierry');
final users = [tommaso, thierry]; final users = [tommaso, thierry];
final a = users.search('Tom');
expect(users.search('Tom'), [tommaso]); expect(users.search('Tom'), [tommaso]);
expect(users.search('Thier'), [thierry]); expect(users.search('Thier'), [thierry]);
}); });