From 0a3d329dd82456cd894bda257e01cd50a62d6833 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Mon, 5 Feb 2024 12:21:29 -0700 Subject: 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)` --- cli/ops/testing.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cli/ops/testing.rs') diff --git a/cli/ops/testing.rs b/cli/ops/testing.rs index 28c4145ea..4a2f48181 100644 --- a/cli/ops/testing.rs +++ b/cli/ops/testing.rs @@ -123,6 +123,8 @@ fn op_register_test( #[string] name: String, ignore: bool, only: bool, + sanitize_ops: bool, + sanitize_resources: bool, #[string] file_name: String, #[smi] line_number: u32, #[smi] column_number: u32, @@ -141,6 +143,8 @@ fn op_register_test( name, ignore, only, + sanitize_ops, + sanitize_resources, origin: origin.clone(), location: TestLocation { file_name, -- cgit v1.2.3