diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-01-26 17:24:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 17:24:16 -0500 |
commit | 84fb2ad71b94ce773cefcbc868b160a73c52ab47 (patch) | |
tree | 481599e289ae6472a96ee88f533b946aae69711a /cli/tests/testdata | |
parent | 6109717c4a4d8139fdbf7165aac3bff2722e16d2 (diff) |
refactor(cli): use new sanitizer for resources (#22125)
Step 1 of the Rustification of sanitizers, which unblocks the faster
timers.
This replaces the resource sanitizer with a Rust one, using the new APIs
in deno_core.
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r-- | cli/tests/testdata/test/resource_sanitizer.out | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/tests/testdata/test/resource_sanitizer.out b/cli/tests/testdata/test/resource_sanitizer.out index a0e916654..655dd2a17 100644 --- a/cli/tests/testdata/test/resource_sanitizer.out +++ b/cli/tests/testdata/test/resource_sanitizer.out @@ -6,8 +6,10 @@ leak ... FAILED ([WILDCARD]) leak => ./test/resource_sanitizer.ts:[WILDCARD] error: Leaking resources: - - The stdin pipe (rid 0) was opened before the test started, but was closed during the test. Do not close resources in a test that were not created during that test. - - A file (rid 3) was opened during the test, but not closed during the test. Close the file handle by calling `file.close()`. +[UNORDERED_START] + - The stdin pipe was opened before the test started, but was closed during the test. Do not close resources in a test that were not created during that test. + - A file was opened during the test, but not closed during the test. Close the file handle by calling `file.close()`. +[UNORDERED_END] FAILURES |