mirror of
https://github.com/ratatui/ratatui.git
synced 2025-10-02 15:25:54 +00:00
test: ensure Style::new() and Style::default() are equivalent (#1789)
This commit is contained in:
parent
0f80c5e87e
commit
deb1b8ec43
@ -640,6 +640,7 @@ mod tests {
|
||||
|
||||
#[rstest]
|
||||
#[case(Style::new(), "Style::new()")]
|
||||
#[case(Style::default(), "Style::new()")]
|
||||
#[case(Style::new().red(), "Style::new().red()")]
|
||||
#[case(Style::new().on_blue(), "Style::new().on_blue()")]
|
||||
#[case(Style::new().bold(), "Style::new().bold()")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user