mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
17 lines
540 B
TypeScript
17 lines
540 B
TypeScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
import { HEADER } from "./unstable_header.ts";
|
|
import { assertEquals } from "@std/assert";
|
|
|
|
Deno.test({
|
|
name: "HEADER",
|
|
fn() {
|
|
// just spot check a few common codes
|
|
assertEquals(HEADER.Accept, "Accept");
|
|
assertEquals(HEADER.AIm, "A-IM");
|
|
assertEquals(HEADER.ClientCertChain, "Client-Cert-Chain");
|
|
assertEquals(HEADER.Connection, "Connection");
|
|
assertEquals(HEADER.Origin, "Origin");
|
|
assertEquals(HEADER.Referer, "Referer");
|
|
},
|
|
});
|