Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion crates/socket-patch-core/src/vendor/jvm/scala_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,9 @@ mod tests {
// Bloop evidence of a build after vendoring (it lists the root
// file), newer than every input, resolving the GAV outside the
// tree: a command-line `-r` or a repository declared elsewhere won.
let ws = root.canonicalize().unwrap();
// Bloop writes plain paths, never Windows' `\\?\` verbatim form
// that `canonicalize` returns there.
let ws = crate::crawlers::sbt_evidence::strip_verbatim(&root.canonicalize().unwrap());
let sources: Vec<_> = [PROJECT_FILE, "main.scala", ROOT_FILE]
.iter()
.map(|f| ws.join(f))
Expand Down
Loading