Skip to content

Commit

Permalink
Fix test after Headers API was made spec compliant (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry authored Apr 20, 2021
1 parent d61a1ee commit 71fd34c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions http/_io_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,10 +364,6 @@ Deno.test("writeResponse with trailer", async () => {
});
const ret = new TextDecoder().decode(w.bytes());
const exp = [
"HTTP/1.1 200 OK",
"transfer-encoding: chunked",
"trailer: deno,node",
"",
"5",
"Hello",
"0",
Expand All @@ -377,7 +373,7 @@ Deno.test("writeResponse with trailer", async () => {
"",
"",
].join("\r\n");
assertEquals(ret, exp);
assert(ret.endsWith(exp));
});

Deno.test("writeResponseShouldNotModifyOriginHeaders", async () => {
Expand Down

0 comments on commit 71fd34c

Please sign in to comment.