@@ -172,9 +172,12 @@ void main() {
172172 const testCases = [
173173 ('/#narrow/stream/check/topic/test' , TopicNarrow (1 , 'test' )),
174174 ('/#narrow/stream/mobile/subject/topic/near/378333' , TopicNarrow (3 , 'topic' )),
175+ ('/#narrow/stream/mobile/subject/topic/with/1' , TopicNarrow (3 , 'topic' )),
175176 ('/#narrow/stream/mobile/topic/topic/' , TopicNarrow (3 , 'topic' )),
176177 ('/#narrow/stream/stream/topic/topic/near/1' , TopicNarrow (5 , 'topic' )),
178+ ('/#narrow/stream/stream/topic/topic/with/22' , TopicNarrow (5 , 'topic' )),
177179 ('/#narrow/stream/stream/subject/topic/near/1' , TopicNarrow (5 , 'topic' )),
180+ ('/#narrow/stream/stream/subject/topic/with/333' , TopicNarrow (5 , 'topic' )),
178181 ('/#narrow/stream/stream/subject/topic' , TopicNarrow (5 , 'topic' )),
179182 ];
180183 testExpectedNarrows (testCases, streams: streams);
@@ -198,7 +201,9 @@ void main() {
198201 final testCases = [
199202 ('/#narrow/dm/1,2-group' , expectedNarrow),
200203 ('/#narrow/dm/1,2-group/near/1' , expectedNarrow),
204+ ('/#narrow/dm/1,2-group/with/2' , expectedNarrow),
201205 ('/#narrow/dm/a.40b.2Ecom.2Ec.2Ed.2Ecom/near/3' , null ),
206+ ('/#narrow/dm/a.40b.2Ecom.2Ec.2Ed.2Ecom/with/4' , null ),
202207 ];
203208 testExpectedNarrows (testCases, streams: streams);
204209 });
@@ -209,7 +214,9 @@ void main() {
209214 final testCases = [
210215 ('/#narrow/pm-with/1,2-group' , expectedNarrow),
211216 ('/#narrow/pm-with/1,2-group/near/1' , expectedNarrow),
217+ ('/#narrow/pm-with/1,2-group/with/2' , expectedNarrow),
212218 ('/#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 ),
213220 ];
214221 testExpectedNarrows (testCases, streams: streams);
215222 });
0 commit comments