Skip to content

Commit 97c936d

Browse files
Apply suggestion from @chrisbobbe
Co-authored-by: Chris Bobbe <[email protected]>
1 parent 57ce7f1 commit 97c936d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

test/widgets/user_test.dart

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,9 @@ void main() {
9595
final user = eg.user(avatarUrl: 'https://zulip.com/avatar.png');
9696
await store.addUser(user);
9797

98-
await tester.pumpWidget(
99-
TestZulipApp(
100-
accountId: eg.selfAccount.id,
101-
child: AvatarImage(userId: user.userId, size: 32),
102-
),
103-
);
98+
await tester.pumpWidget(TestZulipApp(
99+
accountId: eg.selfAccount.id,
100+
child: AvatarImage(userId: user.userId, size: 32)));
104101
await tester.pump(); // Image provider is created
105102
await tester.pump(); // Image fails to load
106103
expect(find.byIcon(ZulipIcons.person), findsOneWidget);

0 commit comments

Comments
 (0)