mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 06:44:35 +00:00
Improve error messages for ef_tests
This commit is contained in:
@@ -123,7 +123,12 @@ pub fn print_failures(doc: &Doc, results: &[CaseResult]) {
|
||||
let error = failure.result.clone().unwrap_err();
|
||||
|
||||
println!("-------");
|
||||
println!("case[{}] failed with {}:", failure.case_index, error.name());
|
||||
println!(
|
||||
"case[{}] ({}) failed with {}:",
|
||||
failure.case_index,
|
||||
failure.desc,
|
||||
error.name()
|
||||
);
|
||||
println!("{}", error.message());
|
||||
}
|
||||
println!("");
|
||||
|
||||
Reference in New Issue
Block a user