mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
Improve fmt test failure message
This commit is contained in:
parent
11707f3443
commit
aeac3da2c1
@ -16,5 +16,8 @@ fn fmt() {
|
||||
println!("stdout: {}", String::from_utf8_lossy(&output.stdout));
|
||||
println!("stderr: {}", String::from_utf8_lossy(&output.stderr));
|
||||
|
||||
assert!(output.status.success());
|
||||
assert!(
|
||||
output.status.success(),
|
||||
"Formatting check failed. Run `./util/dev fmt` to update formatting."
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user