Skip to content

Commit 2d114cd

Browse files
committed
test: Rename typo in a test case
for added clarity, since the previous name was confusing.
1 parent 95185db commit 2d114cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/markdown/text_style.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ mod tests {
505505
#[case::strikethrough(TextStyle::default().strikethrough(), &[TextAttribute::Strikethrough])]
506506
#[case::underlined(TextStyle::default().underlined(), &[TextAttribute::Underlined])]
507507
#[case::bg_color(TextStyle::default().bg_color(Color::Red), &[TextAttribute::BackgroundColor(Color::Red)])]
508-
#[case::bg_color(TextStyle::default().fg_color(Color::Red), &[TextAttribute::ForegroundColor(Color::Red)])]
508+
#[case::fg_color(TextStyle::default().fg_color(Color::Red), &[TextAttribute::ForegroundColor(Color::Red)])]
509509
#[case::all(
510510
TextStyle::default().bold().code().italics().strikethrough().underlined().bg_color(Color::Black).fg_color(Color::Red),
511511
&[

0 commit comments

Comments
 (0)