Skip to content

Commit a3127fa

Browse files
committed
Auto merge of #6774 - Y-Nak:quick-fix-bless, r=phansch
Quick fix cargo dev bless fixes #6757 r? `@phansch` Trying to do a quick fix of `bless`, I'm not sure how much work it will need to do transition to `bless` built in `compiletest`, so please feel free to close this PR if it will not need so much. changelog: none
2 parents 697f3b6 + 5fe3b6c commit a3127fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clippy_dev/src/bless.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ pub fn bless(ignore_timestamp: bool) {
4242
.for_each(|f| {
4343
let test_name = f.path().strip_prefix(test_suite_dir).unwrap();
4444
for &ext in &["stdout", "stderr", "fixed"] {
45+
let test_name_ext = format!("stage-id.{}", ext);
4546
update_reference_file(
4647
f.path().with_extension(ext),
47-
test_name.with_extension(ext),
48+
test_name.with_extension(test_name_ext),
4849
ignore_timestamp,
4950
);
5051
}

0 commit comments

Comments
 (0)