summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-01-23 12:19:49 +1100
committerGitHub <noreply@github.com>2024-01-23 02:19:49 +0100
commit605973159442440cea29fef4c634eac8b3c620f5 (patch)
tree0e3f15d5f048b659758dbeeb318e31839a1151c2 /cli/tests
parentf2b0424df66c073f2129868d5d06a4e94930b1cb (diff)
refactor: set removal version for `Deno.Server` (#22024)
This change sets the removal version for the deprecated `Deno.Server` interface for Deno 2.0. Towards #22021
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/unit/serve_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit/serve_test.ts b/cli/tests/unit/serve_test.ts
index e188932ac..9d06860e0 100644
--- a/cli/tests/unit/serve_test.ts
+++ b/cli/tests/unit/serve_test.ts
@@ -3815,7 +3815,7 @@ async function curlRequestWithStdErr(args: string[]) {
return [new TextDecoder().decode(stdout), new TextDecoder().decode(stderr)];
}
-Deno.test("Deno.Server is not thenable", async () => {
+Deno.test("Deno.HttpServer is not thenable", async () => {
// deno-lint-ignore require-await
async function serveTest() {
const server = Deno.serve({ port: servePort }, (_) => new Response(""));