test: fix test.

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2023-06-20 16:54:19 +05:30
committed by xsahil03x
parent b4c68e505f
commit 17a3b0df83
@@ -27,7 +27,7 @@ void main() {
); );
testWidgets( testWidgets(
'StreamSendingIndicator shows an Icon if message state is not initial', 'StreamSendingIndicator shows an Icon if message state is sending',
(tester) async { (tester) async {
await tester.pumpWidget( await tester.pumpWidget(
MaterialApp( MaterialApp(
@@ -37,7 +37,7 @@ void main() {
body: Center( body: Center(
child: StreamSendingIndicator( child: StreamSendingIndicator(
message: Message( message: Message(
state: MessageState.sent, state: MessageState.sending,
), ),
), ),
), ),