File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,8 @@ main() {
125
125
'User-Agent' : 'Dart'
126
126
}, body: {
127
127
'some-field' : 'value' ,
128
- 'other-field' : 'other value'
128
+ 'other-field' : 'other value' ,
129
+ 'null-field' : null
129
130
}).then ((response) {
130
131
expect (response.statusCode, equals (200 ));
131
132
expect (response.body, parse (equals ({
@@ -229,7 +230,8 @@ main() {
229
230
'User-Agent' : 'Dart'
230
231
}, body: {
231
232
'some-field' : 'value' ,
232
- 'other-field' : 'other value'
233
+ 'other-field' : 'other value' ,
234
+ 'null-field' : null
233
235
}).then ((response) {
234
236
expect (response.statusCode, equals (200 ));
235
237
expect (response.body, parse (equals ({
@@ -333,7 +335,8 @@ main() {
333
335
'User-Agent' : 'Dart'
334
336
}, body: {
335
337
'some-field' : 'value' ,
336
- 'other-field' : 'other value'
338
+ 'other-field' : 'other value' ,
339
+ 'null-field' : null
337
340
}).then ((response) {
338
341
expect (response.statusCode, equals (200 ));
339
342
expect (response.body, parse (equals ({
You can’t perform that action at this time.
0 commit comments