@@ -161,9 +161,12 @@ void main() {
161161 const testCases = [
162162 ('/#narrow/stream/check/topic/test' , TopicNarrow (1 , 'test' )),
163163 ('/#narrow/stream/mobile/subject/topic/near/378333' , TopicNarrow (3 , 'topic' )),
164+ ('/#narrow/stream/mobile/subject/topic/with/1' , TopicNarrow (3 , 'topic' )),
164165 ('/#narrow/stream/mobile/topic/topic/' , TopicNarrow (3 , 'topic' )),
165166 ('/#narrow/stream/stream/topic/topic/near/1' , TopicNarrow (5 , 'topic' )),
167+ ('/#narrow/stream/stream/topic/topic/with/22' , TopicNarrow (5 , 'topic' )),
166168 ('/#narrow/stream/stream/subject/topic/near/1' , TopicNarrow (5 , 'topic' )),
169+ ('/#narrow/stream/stream/subject/topic/with/333' , TopicNarrow (5 , 'topic' )),
167170 ('/#narrow/stream/stream/subject/topic' , TopicNarrow (5 , 'topic' )),
168171 ];
169172 testExpectedNarrows (testCases, streams: streams);
@@ -175,7 +178,9 @@ void main() {
175178 final testCases = [
176179 ('/#narrow/dm/1,2-group' , expectedNarrow),
177180 ('/#narrow/dm/1,2-group/near/1' , expectedNarrow),
181+ ('/#narrow/dm/1,2-group/with/2' , expectedNarrow),
178182 ('/#narrow/dm/a.40b.2Ecom.2Ec.2Ed.2Ecom/near/3' , null ),
183+ ('/#narrow/dm/a.40b.2Ecom.2Ec.2Ed.2Ecom/with/4' , null ),
179184 ];
180185 testExpectedNarrows (testCases, streams: streams);
181186 });
@@ -186,7 +191,9 @@ void main() {
186191 final testCases = [
187192 ('/#narrow/pm-with/1,2-group' , expectedNarrow),
188193 ('/#narrow/pm-with/1,2-group/near/1' , expectedNarrow),
194+ ('/#narrow/pm-with/1,2-group/with/2' , expectedNarrow),
189195 ('/#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 ),
190197 ];
191198 testExpectedNarrows (testCases, streams: streams);
192199 });
0 commit comments