chore: fix ci (#1102)

This commit is contained in:
Yoshiya Hinosawa
2023-04-04 14:13:21 +09:00
committed by GitHub
parent 673c161aee
commit eed9f0ef05
2 changed files with 7 additions and 2 deletions
+3 -1
View File
@@ -555,7 +555,9 @@ Deno.test("experimental Deno.serve", {
assert(body.startsWith("bar"));
const etag = resp.headers.get("etag");
assert(etag);
assert(!etag.startsWith("W/"), "etag should be weak");
// TODO(kt3k): Enable this assertion when new Deno.serve is released.
// https://github.com/denoland/deno/pull/18568
// assert(etag.startsWith("W/"), "etag should be weak");
assertEquals(resp.headers.get("content-type"), "text/plain");
});