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/lsp/testing/execution.rs | |
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/lsp/testing/execution.rs')
-rw-r--r-- | cli/lsp/testing/execution.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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; |