From 6a2efb18e44f9447e4781178fa8ada09ca2fe148 Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Thu, 17 Jun 2021 15:01:45 +0530 Subject: [PATCH] Update packages/stream_chat/test/src/core/models/reaction_test.dart --- .../test/src/core/models/reaction_test.dart | 30 ++++--------------- 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/packages/stream_chat/test/src/core/models/reaction_test.dart b/packages/stream_chat/test/src/core/models/reaction_test.dart index cfe9f69e..b603477c 100644 --- a/packages/stream_chat/test/src/core/models/reaction_test.dart +++ b/packages/stream_chat/test/src/core/models/reaction_test.dart @@ -77,34 +77,16 @@ void main() { userId: 'test', ); - expect( - newReaction.type, - 'lol', - ); + expect(newReaction.type, 'lol'); expect( newReaction.createdAt, DateTime.parse('2021-01-28T22:17:31.108742Z'), ); - expect( - newReaction.extraData, - {}, - ); - expect( - newReaction.messageId, - 'test', - ); - expect( - newReaction.score, - 2, - ); - expect( - newReaction.user, - User(id: 'test'), - ); - expect( - newReaction.userId, - 'test', - ); + expect(newReaction.extraData, {}); + expect(newReaction.messageId, 'test'); + expect(newReaction.score, 2); + expect(newReaction.user, User(id: 'test')); + expect(newReaction.userId, 'test'); }); test('merge', () {