diff options
author | Marcos Casagrande <marcoscvp90@gmail.com> | 2020-04-27 20:08:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 14:08:20 -0400 |
commit | c190a0dbc48e7de6a63a2f633f59054d40800600 (patch) | |
tree | 0516b0539903fc39e8f9c823c0a7194a0843622a /std/http/io_test.ts | |
parent | d440495b6bc20eb8008397f3c744d8fa1ab578f5 (diff) |
Improve std/http/io.ts parseHTTPVersion (#4930)
Diffstat (limited to 'std/http/io_test.ts')
-rw-r--r-- | std/http/io_test.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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; |