Make assert printing more accesible
@@ -141,7 +141,9 @@ pub(crate) fn assert_has(label: &str, what: &str, ok: bool) -> Result<()> {
let mut h = TermHighlighter::new();
if ok {
fg_bold!(h, Green);
+ write!(h.get_writer(), " (+) ")?;
} else {
+ write!(h.get_writer(), " (-) ")?;
fg_bold!(h, Red);
}
write!(h.get_writer(), "{}", &label)?;
