File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -375,17 +375,16 @@ void main() {
375
375
expect (response.statusCode, equals (200 ));
376
376
expect (
377
377
response.body,
378
- parse (equals ({
379
- 'method' : 'DELETE' ,
380
- 'path' : '/' ,
381
- 'headers' : {
382
- 'content-length' : ['0' ],
383
- 'accept-encoding' : ['gzip' ],
384
- 'user-agent' : ['Dart' ],
385
- 'x-random-header' : ['Value' ],
386
- 'x-other-header' : ['Other Value' ]
387
- }
388
- })));
378
+ parse (allOf (
379
+ containsPair ('method' , 'DELETE' ),
380
+ containsPair ('path' , '/' ),
381
+ containsPair (
382
+ 'headers' ,
383
+ allOf (
384
+ containsPair ('accept-encoding' , ['gzip' ]),
385
+ containsPair ('user-agent' , ['Dart' ]),
386
+ containsPair ('x-random-header' , ['Value' ]),
387
+ containsPair ('x-other-header' , ['Other Value' ]))))));
389
388
});
390
389
391
390
test ('read' , () async {
You can’t perform that action at this time.
0 commit comments