From 84fb2ad71b94ce773cefcbc868b160a73c52ab47 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Fri, 26 Jan 2024 17:24:16 -0500 Subject: 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. --- cli/tests/testdata/test/resource_sanitizer.out | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cli/tests') 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 -- cgit v1.2.3