@@ -172,9 +172,12 @@ void main() {
172
172
const testCases = [
173
173
('/#narrow/stream/check/topic/test' , TopicNarrow (1 , 'test' )),
174
174
('/#narrow/stream/mobile/subject/topic/near/378333' , TopicNarrow (3 , 'topic' )),
175
+ ('/#narrow/stream/mobile/subject/topic/with/1' , TopicNarrow (3 , 'topic' )),
175
176
('/#narrow/stream/mobile/topic/topic/' , TopicNarrow (3 , 'topic' )),
176
177
('/#narrow/stream/stream/topic/topic/near/1' , TopicNarrow (5 , 'topic' )),
178
+ ('/#narrow/stream/stream/topic/topic/with/22' , TopicNarrow (5 , 'topic' )),
177
179
('/#narrow/stream/stream/subject/topic/near/1' , TopicNarrow (5 , 'topic' )),
180
+ ('/#narrow/stream/stream/subject/topic/with/333' , TopicNarrow (5 , 'topic' )),
178
181
('/#narrow/stream/stream/subject/topic' , TopicNarrow (5 , 'topic' )),
179
182
];
180
183
testExpectedNarrows (testCases, streams: streams);
@@ -198,7 +201,9 @@ void main() {
198
201
final testCases = [
199
202
('/#narrow/dm/1,2-group' , expectedNarrow),
200
203
('/#narrow/dm/1,2-group/near/1' , expectedNarrow),
204
+ ('/#narrow/dm/1,2-group/with/2' , expectedNarrow),
201
205
('/#narrow/dm/a.40b.2Ecom.2Ec.2Ed.2Ecom/near/3' , null ),
206
+ ('/#narrow/dm/a.40b.2Ecom.2Ec.2Ed.2Ecom/with/4' , null ),
202
207
];
203
208
testExpectedNarrows (testCases, streams: streams);
204
209
});
@@ -209,7 +214,9 @@ void main() {
209
214
final testCases = [
210
215
('/#narrow/pm-with/1,2-group' , expectedNarrow),
211
216
('/#narrow/pm-with/1,2-group/near/1' , expectedNarrow),
217
+ ('/#narrow/pm-with/1,2-group/with/2' , expectedNarrow),
212
218
('/#narrow/pm-with/a.40b.2Ecom.2Ec.2Ed.2Ecom/near/3' , null ),
219
+ ('/#narrow/pm-with/a.40b.2Ecom.2Ec.2Ed.2Ecom/with/3' , null ),
213
220
];
214
221
testExpectedNarrows (testCases, streams: streams);
215
222
});
0 commit comments