TestComponent: Display 'actual' as green when stanza match
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
41da68bd5e
commit
c4dee64cfe
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ impl Component {
|
|||
|
||||
if expected == actual {
|
||||
return format!(
|
||||
"\nexpected: `{}`\n \x1b[31mactual\x1b[0m: `{}`\n",
|
||||
"\nexpected: `{}`\n \x1b[32mactual\x1b[0m: `{}`\n",
|
||||
hl_expected, hl_actual
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue