@@ -161,9 +161,12 @@ void main() {
161
161
const testCases = [
162
162
('/#narrow/stream/check/topic/test' , TopicNarrow (1 , 'test' )),
163
163
('/#narrow/stream/mobile/subject/topic/near/378333' , TopicNarrow (3 , 'topic' )),
164
+ ('/#narrow/stream/mobile/subject/topic/with/1' , TopicNarrow (3 , 'topic' )),
164
165
('/#narrow/stream/mobile/topic/topic/' , TopicNarrow (3 , 'topic' )),
165
166
('/#narrow/stream/stream/topic/topic/near/1' , TopicNarrow (5 , 'topic' )),
167
+ ('/#narrow/stream/stream/topic/topic/with/22' , TopicNarrow (5 , 'topic' )),
166
168
('/#narrow/stream/stream/subject/topic/near/1' , TopicNarrow (5 , 'topic' )),
169
+ ('/#narrow/stream/stream/subject/topic/with/333' , TopicNarrow (5 , 'topic' )),
167
170
('/#narrow/stream/stream/subject/topic' , TopicNarrow (5 , 'topic' )),
168
171
];
169
172
testExpectedNarrows (testCases, streams: streams);
@@ -175,7 +178,9 @@ void main() {
175
178
final testCases = [
176
179
('/#narrow/dm/1,2-group' , expectedNarrow),
177
180
('/#narrow/dm/1,2-group/near/1' , expectedNarrow),
181
+ ('/#narrow/dm/1,2-group/with/2' , expectedNarrow),
178
182
('/#narrow/dm/a.40b.2Ecom.2Ec.2Ed.2Ecom/near/3' , null ),
183
+ ('/#narrow/dm/a.40b.2Ecom.2Ec.2Ed.2Ecom/with/4' , null ),
179
184
];
180
185
testExpectedNarrows (testCases, streams: streams);
181
186
});
@@ -186,7 +191,9 @@ void main() {
186
191
final testCases = [
187
192
('/#narrow/pm-with/1,2-group' , expectedNarrow),
188
193
('/#narrow/pm-with/1,2-group/near/1' , expectedNarrow),
194
+ ('/#narrow/pm-with/1,2-group/with/2' , expectedNarrow),
189
195
('/#narrow/pm-with/a.40b.2Ecom.2Ec.2Ed.2Ecom/near/3' , null ),
196
+ ('/#narrow/pm-with/a.40b.2Ecom.2Ec.2Ed.2Ecom/with/3' , null ),
190
197
];
191
198
testExpectedNarrows (testCases, streams: streams);
192
199
});
0 commit comments