summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-02-05 12:21:29 -0700
committerGitHub <noreply@github.com>2024-02-05 12:21:29 -0700
commit0a3d329dd82456cd894bda257e01cd50a62d6833 (patch)
treeba74f8b4b4681f55e87f9e2d22ea5c96443680ff /cli/tests
parentaecad7f3531c76306274d86afb458fcbc08edca2 (diff)
Reland refactor(cli): use new sanitizer for resources (#22226)
Originally in #22125 Reverted in #22153 because of #22148 Fixed in deno_core https://github.com/denoland/deno_core/pull/538 Test plan: 1. Check out: https://github.com/poolifier/poolifier-deno.git 2. `PATH=.../deno/target/release/:$PATH deno task test` 3. `ok | 13 passed (188 steps) | 0 failed (18s)`
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/testdata/test/resource_sanitizer.out6
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