From c190a0dbc48e7de6a63a2f633f59054d40800600 Mon Sep 17 00:00:00 2001 From: Marcos Casagrande Date: Mon, 27 Apr 2020 20:08:20 +0200 Subject: Improve std/http/io.ts parseHTTPVersion (#4930) --- std/http/io_test.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'std/http/io_test.ts') diff --git a/std/http/io_test.ts b/std/http/io_test.ts index 768a4ffe4..94c527e1b 100644 --- a/std/http/io_test.ts +++ b/std/http/io_test.ts @@ -193,6 +193,7 @@ test("parseHttpVersion", (): void => { { in: "HTTP/0.-1", err: true }, { in: "HTTP/", err: true }, { in: "HTTP/1,0", err: true }, + { in: "HTTP/1.1000001", err: true }, ]; for (const t of testCases) { let r, err; -- cgit v1.2.3