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/lsp/testing/execution.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cli/lsp/testing/execution.rs') diff --git a/cli/lsp/testing/execution.rs b/cli/lsp/testing/execution.rs index 69f218be8..11882e6af 100644 --- a/cli/lsp/testing/execution.rs +++ b/cli/lsp/testing/execution.rs @@ -363,7 +363,9 @@ impl TestRun { test::TestResult::Ignored => summary.ignored += 1, test::TestResult::Failed(error) => { summary.failed += 1; - summary.failures.push((description.clone(), error.clone())); + summary + .failures + .push(((&description).into(), error.clone())); } test::TestResult::Cancelled => { summary.failed += 1; -- cgit v1.2.3