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