-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Rust crate fs-err to v3 #8625
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1032,10 +1032,10 @@ fn path_with_trailing_space_gives_proper_error() { | |
let path_with_trailing_slash = format!("{} ", context.cache_dir.path().display()); | ||
let mut filters = context.filters(); | ||
// Windows translates error messages, for example i get: | ||
// "Caused by: Das System kann den angegebenen Pfad nicht finden. (os error 3)" | ||
// ": Das System kann den angegebenen Pfad nicht finden. (os error 3)" | ||
filters.push(( | ||
r"Caused by: .* \(os error 3\)", | ||
"Caused by: The system cannot find the path specified. (os error 3)", | ||
r"CACHEDIR.TAG`: .* \(os error 3\)", | ||
"CACHEDIR.TAG`: The system cannot find the path specified. (os error 3)", | ||
Comment on lines
-1035
to
+1038
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Aside: I bet this can be simplified now that we do #8606 |
||
)); | ||
uv_snapshot!(filters, std::process::Command::new(crate::common::get_bin()) | ||
.arg("venv") | ||
|
@@ -1045,8 +1045,7 @@ fn path_with_trailing_space_gives_proper_error() { | |
----- stdout ----- | ||
|
||
----- stderr ----- | ||
error: failed to open file `[CACHE_DIR]/ /CACHEDIR.TAG` | ||
Caused by: The system cannot find the path specified. (os error 3) | ||
error: failed to open file `[CACHE_DIR]/ /CACHEDIR.TAG`: The system cannot find the path specified. (os error 3) | ||
"### | ||
); | ||
// Note the extra trailing `/` in the snapshot is due to the filters, not the actual output. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary?