diff --git a/crates/turborepo-lib/src/run/scope/filter.rs b/crates/turborepo-lib/src/run/scope/filter.rs index 918afc2a3c8e4..d465b112807a4 100644 --- a/crates/turborepo-lib/src/run/scope/filter.rs +++ b/crates/turborepo-lib/src/run/scope/filter.rs @@ -1104,10 +1104,7 @@ mod test { let packages = resolver.get_filtered_packages(selectors).unwrap(); assert_eq!( - packages - .into_iter() - .map(|(name, _)| name) - .collect::>(), + packages.into_keys().collect::>(), expected.iter().map(|s| PackageName::from(*s)).collect() ); } @@ -1339,10 +1336,7 @@ mod test { let packages = resolver.get_filtered_packages(selectors).unwrap(); assert_eq!( - packages - .into_iter() - .map(|(name, _)| name) - .collect::>(), + packages.into_keys().collect::>(), expected.iter().map(|s| PackageName::from(*s)).collect() ); }