| Index: pkg/http/test/multipart_test.dart
|
| diff --git a/pkg/http/test/multipart_test.dart b/pkg/http/test/multipart_test.dart
|
| index 288a445d74de89c06f953948cc141706642ffdb0..1be547d3f682d07f7c174f17702b3f8c99eed259 100644
|
| --- a/pkg/http/test/multipart_test.dart
|
| +++ b/pkg/http/test/multipart_test.dart
|
| @@ -31,8 +31,7 @@ class _BodyMatches extends BaseMatcher {
|
|
|
| var future = item.finalize().toBytes().then((bodyBytes) {
|
| var body = decodeUtf8(bodyBytes);
|
| - var contentType = new ContentType.fromString(
|
| - item.headers['content-type']);
|
| + var contentType = ContentType.parse(item.headers['content-type']);
|
| var boundary = contentType.parameters['boundary'];
|
| var expected = cleanUpLiteral(_pattern)
|
| .replaceAll("\n", "\r\n")
|
|
|