Chromium Code Reviews| Index: tests/standalone/src/io/HttpParserTest.dart |
| =================================================================== |
| --- tests/standalone/src/io/HttpParserTest.dart (revision 6032) |
| +++ tests/standalone/src/io/HttpParserTest.dart (working copy) |
| @@ -540,6 +540,12 @@ |
| // Currently no HTTP 1.0 support. |
| request = "GET / HTTP/1.0\r\n\r\n"; |
| _testParseInvalidRequest(request); |
| + |
| + Expect.throws(() { |
| + // Issue #2370 |
|
Søren Gjesse
2012/04/02 08:23:46
We normally format like this:
// TODO(2370): HTTP
Anders Johnsen
2012/04/02 08:25:44
Ah, right, thank you!
|
| + request = "GET / HTTP/1.1\r\nKeep-Alive: False\r\nbadheader\r\n\r\n"; |
| + _testParseInvalidRequest(request); |
| + }); |
| } |
| static void testParseInvalidResponse() { |