Skip to content

Commit 648d390

Browse files
committed
fix(snap): Finish swapping colors
This was left out of 9dddde7
1 parent f3a6f0c commit 648d390

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/snapbox/src/report/color.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ impl Palette {
1616
warn: anstyle::AnsiColor::Yellow.on_default(),
1717
error: anstyle::AnsiColor::Red.on_default(),
1818
hint: anstyle::Effects::DIMMED.into(),
19-
expected: anstyle::AnsiColor::Green.on_default() | anstyle::Effects::UNDERLINE,
20-
actual: anstyle::AnsiColor::Red.on_default() | anstyle::Effects::UNDERLINE,
19+
expected: anstyle::AnsiColor::Red.on_default() | anstyle::Effects::UNDERLINE,
20+
actual: anstyle::AnsiColor::Green.on_default() | anstyle::Effects::UNDERLINE,
2121
}
2222
} else {
2323
Self::plain()

0 commit comments

Comments
 (0)