Skip to content

Commit fe5dc29

Browse files
PIG208gnprice
authored andcommitted
msglist test: Remove redundant copy of a regression test.
A test on CombinedFeedNarrow is sufficient for preventing this particular regression. We could go further and test this on other narrows, but there's little to gain because the bug related to the absence of a compose box, not any other detail of the narrow. Signed-off-by: Zixuan James Li <[email protected]>
1 parent 115a5e5 commit fe5dc29

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

test/widgets/message_list_test.dart

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -135,19 +135,6 @@ void main() {
135135
final padding = MediaQuery.of(element).padding;
136136
check(padding).equals(EdgeInsets.zero);
137137
});
138-
139-
testWidgets('content in MentionsNarrow not asked to consume insets (including bottom)', (tester) async {
140-
const fakePadding = FakeViewPadding(left: 10, top: 10, right: 10, bottom: 10);
141-
tester.view.viewInsets = fakePadding;
142-
tester.view.padding = fakePadding;
143-
144-
await setupMessageListPage(tester, narrow: const MentionsNarrow(),
145-
messages: [eg.streamMessage(content: ContentExample.codeBlockPlain.html, flags: [MessageFlag.mentioned])]);
146-
147-
final element = tester.element(find.byType(CodeBlock));
148-
final padding = MediaQuery.of(element).padding;
149-
check(padding).equals(EdgeInsets.zero);
150-
});
151138
});
152139

153140
testWidgets('smoke test for light/dark/lerped', (tester) async {

0 commit comments

Comments
 (0)