We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ead0fc9 commit 8486837Copy full SHA for 8486837
src/test/mod.rs
@@ -835,7 +835,7 @@ fn handle_result(
835
// Ignore LF and CRLF difference for Windows.
836
if !string_eq_ignore_newline_repr(&fmt_text, &text) {
837
if std::env::var_os("RUSTC_BLESS").is_some_and(|v| v != "0") {
838
- std::fs::write(file_name, fmt_text).unwrap();
+ std::fs::write(target, fmt_text).unwrap();
839
continue;
840
}
841
let diff = make_diff(&text, &fmt_text, DIFF_CONTEXT_SIZE);
0 commit comments