summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-03 18:33:26 +1000
committerGitHub <noreply@github.com>2024-09-03 18:33:26 +1000
commit259752537f5c81101c47a547ae345f0863235cf6 (patch)
tree2dfae7a86a8a6260fdcad7f33eeac0b78dae0128 /tests/unit
parente49d80e500c384b381c375900060e5a476581541 (diff)
BREAKING: remove `Deno.close()` (#25347)
Towards #22079
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/resources_test.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/unit/resources_test.ts b/tests/unit/resources_test.ts
deleted file mode 100644
index 3c692a1a4..000000000
--- a/tests/unit/resources_test.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-
-// deno-lint-ignore-file no-deprecated-deno-api
-
-import { assertThrows } from "./test_util.ts";
-
-Deno.test(function resourcesCloseBadArgs() {
- assertThrows(() => {
- Deno.close((null as unknown) as number);
- }, TypeError);
-});