mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Quick fix cargo dev bless
This commit is contained in:
parent
728f3976f0
commit
5fe3b6c41a
1 changed files with 2 additions and 1 deletions
|
@ -42,9 +42,10 @@ pub fn bless(ignore_timestamp: bool) {
|
|||
.for_each(|f| {
|
||||
let test_name = f.path().strip_prefix(test_suite_dir).unwrap();
|
||||
for &ext in &["stdout", "stderr", "fixed"] {
|
||||
let test_name_ext = format!("stage-id.{}", ext);
|
||||
update_reference_file(
|
||||
f.path().with_extension(ext),
|
||||
test_name.with_extension(ext),
|
||||
test_name.with_extension(test_name_ext),
|
||||
ignore_timestamp,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue