File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -164,8 +164,8 @@ void main() {
164164 );
165165
166166 expect (
167- () => augmentedForm2.resolvedHref,
168- throwsA ( isA < UriVariableException >() ),
167+ augmentedForm2.resolvedHref,
168+ Uri . parse ( "http://example.org/weather/?lat=5" ),
169169 );
170170
171171 final augmentedForm3 = AugmentedForm (
@@ -178,18 +178,8 @@ void main() {
178178 );
179179
180180 expect (
181- () => augmentedForm3.resolvedHref,
182- throwsA (
183- predicate (
184- (exception) =>
185- exception is UriVariableException &&
186- exception.toString () ==
187- "UriVariableException: The following URI template "
188- "variables defined at the TD level are not covered by "
189- "the values provided by the user: lat. Values for the "
190- "following variables were received: long." ,
191- ),
192- ),
181+ augmentedForm3.resolvedHref,
182+ Uri .parse ("http://example.org/weather/?long=10" ),
193183 );
194184
195185 final augmentedForm4 = AugmentedForm (
You can’t perform that action at this time.
0 commit comments