Improve fmt test failure message

This commit is contained in:
Michael Wright 2019-06-26 06:08:33 +02:00 committed by flip1995
parent 11707f3443
commit aeac3da2c1
No known key found for this signature in database
GPG Key ID: 01C836B640FFDFB1

View File

@ -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."
);
}