Render test messages from bootstrap
This commit is contained in:
parent
965cf5c1f5
commit
59dff762bc
1 changed files with 7 additions and 2 deletions
|
@ -168,9 +168,14 @@ impl<'a> Renderer<'a> {
|
||||||
if !self.failures.is_empty() {
|
if !self.failures.is_empty() {
|
||||||
println!("\nfailures:\n");
|
println!("\nfailures:\n");
|
||||||
for failure in &self.failures {
|
for failure in &self.failures {
|
||||||
if let Some(stdout) = &failure.stdout {
|
if failure.stdout.is_some() || failure.message.is_some() {
|
||||||
println!("---- {} stdout ----", failure.name);
|
println!("---- {} stdout ----", failure.name);
|
||||||
println!("{stdout}");
|
if let Some(stdout) = &failure.stdout {
|
||||||
|
println!("{stdout}");
|
||||||
|
}
|
||||||
|
if let Some(message) = &failure.message {
|
||||||
|
println!("note: {message}");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue