We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b4f059 commit a0732f9Copy full SHA for a0732f9
test/widgets/compose_box_test.dart
@@ -352,15 +352,16 @@ void main() {
352
}
353
354
group('to ChannelNarrow', () {
355
+ final narrow = ChannelNarrow(channel.streamId);
356
+
357
testWidgets('with empty topic', (tester) async {
- await prepare(tester, narrow: ChannelNarrow(channel.streamId));
358
+ await prepare(tester, narrow: narrow);
359
checkComposeBoxHintTexts(tester,
360
topicHintText: 'Topic',
361
contentHintText: 'Message #${channel.name} > (no topic)');
362
});
363
364
testWidgets('with non-empty topic', (tester) async {
- final narrow = ChannelNarrow(channel.streamId);
365
await prepare(tester, narrow: narrow);
366
await enterTopic(tester, narrow: narrow, topic: 'new topic');
367
await tester.pump();
0 commit comments