1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00
denoland-deno/cli/tests/testdata/test/resource_sanitizer.ts
Luca Casonato b53997273d
feat(test): better errors for resource sanitizer (#13296)
This commit makes the errors produced from the resource sanitizer much
more human readable. It does this by using real words rather than our
"resource names" when referring to resources, and by giving helpful
hints on how to clean up each of the resources.
2022-01-25 17:03:38 +01:00

4 lines
91 B
TypeScript

Deno.test("leak", function () {
Deno.openSync("001_hello.js");
Deno.stdin.close();
});