mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 13:54:44 +00:00
Tidy presentation of errors for ef_tests
This commit is contained in:
@@ -108,9 +108,11 @@ pub fn print_failures(doc: &Doc, results: &[CaseResult]) {
|
||||
println!("");
|
||||
|
||||
for failure in failures {
|
||||
let error = failure.result.clone().unwrap_err();
|
||||
|
||||
println!("-------");
|
||||
println!("case[{}].result:", failure.case_index);
|
||||
println!("{:#?}", failure.result);
|
||||
println!("case[{}] failed with {}:", failure.case_index, error.name());
|
||||
println!("{}", error.message());
|
||||
}
|
||||
println!("");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user