Skip to content

Commit 080a7e5

Browse files
committed
msglist test [nfc]: Make a test explicit that it exercises "Combined feed"
1 parent edba020 commit 080a7e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/model/message_list_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2627,7 +2627,7 @@ void main() {
26272627
}));
26282628
});
26292629

2630-
test('recipient headers are maintained consistently', () => awaitFakeAsync((async) async {
2630+
test('recipient headers are maintained consistently (Combined feed)', () => awaitFakeAsync((async) async {
26312631
// TODO test date separators are maintained consistently too
26322632
// This tests the code that maintains the invariant that recipient headers
26332633
// are present just where they're required.
@@ -2648,7 +2648,7 @@ void main() {
26482648
eg.dmMessage(id: id, from: eg.selfUser, to: [], timestamp: timestamp);
26492649

26502650
// First, test fetchInitial, where some headers are needed and others not.
2651-
await prepare();
2651+
await prepare(narrow: CombinedFeedNarrow());
26522652
connection.prepare(json: newestResult(
26532653
foundOldest: false,
26542654
messages: [streamMessage(10), streamMessage(11), dmMessage(12)],

0 commit comments

Comments
 (0)