Chromium Code Reviews| Index: tests/standalone/io/mime_multipart_parser_test.dart |
| diff --git a/tests/standalone/io/mime_multipart_parser_test.dart b/tests/standalone/io/mime_multipart_parser_test.dart |
| index 1045b5a0f18abdd6665bd198dfa136e4aa7f1917..1f14579c53386c38edbbd0801e75d99e3465b6bb 100644 |
| --- a/tests/standalone/io/mime_multipart_parser_test.dart |
| +++ b/tests/standalone/io/mime_multipart_parser_test.dart |
| @@ -279,12 +279,8 @@ Content-Type: text/plain\r |
| --\r\r\r |
| -\r"""; |
| testParse(message, "boundary", [headers, headers], [body1, body2]); |
| -} |
| - |
| -void testParseInvalid() { |
| - String message; |
| - // Missing initial CRLF. One body part less. |
| + // Without initial CRLF. One body part less. |
|
Søren Gjesse
2013/05/06 12:28:10
This comment looks wrong.
Anders Johnsen
2013/05/06 13:38:16
Done.
|
| message = """ |
| --xxx\r |
| \r |
| @@ -295,7 +291,11 @@ Body 1\r |
| \r |
| Body2\r |
| --xxx--\r\n"""; |
| - testParse(message, "xxx", null, ["\r\nBody2"]); |
| + testParse(message, "xxx", null, ["\r\nBody 1", "\r\nBody2"]); |
| +} |
| + |
| +void testParseInvalid() { |
| + String message; |
| // Missing end boundary. |
| message = """ |