We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95185db commit 2d114cdCopy full SHA for 2d114cd
1 file changed
src/markdown/text_style.rs
@@ -505,7 +505,7 @@ mod tests {
505
#[case::strikethrough(TextStyle::default().strikethrough(), &[TextAttribute::Strikethrough])]
506
#[case::underlined(TextStyle::default().underlined(), &[TextAttribute::Underlined])]
507
#[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)])]
+ #[case::fg_color(TextStyle::default().fg_color(Color::Red), &[TextAttribute::ForegroundColor(Color::Red)])]
509
#[case::all(
510
TextStyle::default().bold().code().italics().strikethrough().underlined().bg_color(Color::Black).fg_color(Color::Red),
511
&[
0 commit comments