diff --git a/tests/src/operator/sanity.rs b/tests/src/operator/sanity.rs index bd2ba2523b2..b219539f4f5 100644 --- a/tests/src/operator/sanity.rs +++ b/tests/src/operator/sanity.rs @@ -29,10 +29,7 @@ pub async fn mirrord_ls(#[future] service_for_mirrord_ls: KubeService) { let re = Regex::new(&format!( r"^({})/.+(/container/.+)?$", - expected_target_types - .into_iter() - .collect::>() - .join("|") + expected_target_types.join("|") )) .unwrap(); targets.iter().for_each(|output| {