diff options
| author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-03 18:33:26 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-03 18:33:26 +1000 |
| commit | 259752537f5c81101c47a547ae345f0863235cf6 (patch) | |
| tree | 2dfae7a86a8a6260fdcad7f33eeac0b78dae0128 /tests/unit | |
| parent | e49d80e500c384b381c375900060e5a476581541 (diff) | |
BREAKING: remove `Deno.close()` (#25347)
Towards #22079
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/resources_test.ts | 11 |
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); -}); |
