Skip to content

Commit

Permalink
test: color match tests updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed Feb 5, 2024
1 parent 0436ff1 commit 5b28741
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ui/color_match.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ mod tests {
"\x1b[31;47mo\x1b[32;40mx\x1b[33;41mk\x1b[34;42me\x1b[35;43mr\x1b[0m",
),
style: Style::default(),
}]
.to_vec(),
}].to_vec(),
alignment: None,
style: Style::default()
}];
assert_eq!(result, expected);
}
Expand Down Expand Up @@ -130,6 +130,7 @@ mod tests {
},
],
alignment: None,
style: Style::default()
}];
assert_eq!(result, expected);
}
Expand All @@ -143,6 +144,7 @@ mod tests {
content: std::borrow::Cow::Borrowed("oxker"),
style: Style::default(),
}],
style: Style::default(),
alignment: None,
}];
assert_eq!(result, expected);
Expand Down

0 comments on commit 5b28741

Please sign in to comment.