Skip to content

Commit 83253a0

Browse files
committed
fix: failing unit test (omitted content-type is not a problem anymore)
1 parent 25b16b2 commit 83253a0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stackslib/src/net/tests/httpcore.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ fn test_parse_stacks_http_preamble_response_err() {
120120
"Failed to decode HTTP request or HTTP response"),
121121
("HTTP/1.1 200 OK\r\nContent-Length: foo\r\n\r\n",
122122
"Failed to decode HTTP request or HTTP response"),
123-
("HTTP/1.1 200 OK\r\nContent-Length: 123\r\n\r\n",
124-
"Failed to decode HTTP request or HTTP response"),
125123
("HTTP/1.1 200 OK\r\nContent-Type: text/plain\r\n\r\n",
126124
"Failed to decode HTTP request or HTTP response"),
127125
("HTTP/1.1 200 OK\r\nContent-Type: text/plain\r\nContent-Length: 123\r\nTransfer-Encoding: chunked\r\n\r\n",

0 commit comments

Comments
 (0)