component/test: fmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
4c9165a602
commit
bad6a425a8
1 changed files with 3 additions and 1 deletions
|
@ -262,7 +262,9 @@ impl Component {
|
|||
});
|
||||
}
|
||||
|
||||
if ! color_added && ! color_start && let Some(ref color) = last_color {
|
||||
if !color_added
|
||||
&& !color_start && let Some(ref color) = last_color
|
||||
{
|
||||
// Change background
|
||||
buf_expected.push_str(format!("{}{}", color, "\x1b[48;5;8m").as_str());
|
||||
color_added = true;
|
||||
|
|
Loading…
Reference in a new issue