Skip to content

Commit 6fedbb9

Browse files
50U10FCA750U10FCA7
andauthored
Fix ignored verbosity when printing World on hook/background step failure (#313)
Co-authored-by: 50U10FCA7 <[email protected]>
1 parent d9fe09f commit 6fedbb9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/writer/basic.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ impl<Out: io::Write> Basic<Out> {
428428
format!("{w:#?}"),
429429
self.indent.saturating_sub(3) + 3,
430430
))
431+
.filter(|_| self.verbosity.shows_world())
431432
.unwrap_or_default(),
432433
indent = " ".repeat(self.indent.saturating_sub(3)),
433434
)))
@@ -1009,6 +1010,7 @@ impl<Out: io::Write> Basic<Out> {
10091010
format!("{w:#?}"),
10101011
self.indent.saturating_sub(3) + 3,
10111012
))
1013+
.filter(|_| self.verbosity.shows_world())
10121014
.unwrap_or_default(),
10131015
));
10141016

0 commit comments

Comments
 (0)