Skip to content

Commit

Permalink
One more Windows slash path
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Sep 14, 2023
1 parent a88d61f commit 4f708bf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,9 @@ mod test {
.expect("Find workspace root");
let top_source_files = tool.top_source_files(&root_dir).expect("Find root files");
println!("{top_source_files:#?}");
assert_eq!(top_source_files.len(), 3);
let paths: Vec<String> = top_source_files
let paths = top_source_files
.iter()
.map(|sf| sf.tree_relative_path.to_string())
.sorted()
.map(|sf| sf.tree_relative_path.to_slash_path())
.collect_vec();
assert_eq!(
paths,
Expand Down

0 comments on commit 4f708bf

Please sign in to comment.