From f2dc3f9a94444b1a5a40570be09c7f64903d27cb Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 13 May 2024 18:55:14 -0400 Subject: chore(task): various small refactorings (#23793) --- tests/Cargo.toml | 2 +- tests/specs/mod.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/Cargo.toml b/tests/Cargo.toml index e14299c93..fa633f607 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -43,7 +43,7 @@ deno_lockfile.workspace = true deno_terminal.workspace = true deno_tls.workspace = true fastwebsockets = { workspace = true, features = ["upgrade", "unstable-split"] } -file_test_runner = "0.6.0" +file_test_runner = "0.7.0" flaky_test = "=0.1.0" http.workspace = true http-body-util.workspace = true diff --git a/tests/specs/mod.rs b/tests/specs/mod.rs index f367f5c77..a153322db 100644 --- a/tests/specs/mod.rs +++ b/tests/specs/mod.rs @@ -6,7 +6,6 @@ use std::collections::HashMap; use std::collections::HashSet; use std::panic::AssertUnwindSafe; use std::rc::Rc; -use std::sync::Arc; use deno_core::anyhow::Context; use deno_core::serde_json; @@ -174,7 +173,7 @@ pub fn main() { file_test_runner::run_tests( &root_category, file_test_runner::RunOptions { parallel: true }, - Arc::new(run_test), + run_test, ); } -- cgit v1.2.3