mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
Use consistent formatting in the parse_rgb test
This commit is contained in:
parent
1bbd60c597
commit
777ba6f9d8
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ mod tests {
|
|||
assert!(RgbColor::from_wstr("##FF00A0"L) == None);
|
||||
assert!(RgbColor::from_wstr("#FF00A0"L) == Some(RgbColor::from_rgb(0xff, 0x00, 0xa0)));
|
||||
assert!(RgbColor::from_wstr("FF00A0"L) == Some(RgbColor::from_rgb(0xff, 0x00, 0xa0)));
|
||||
assert!(RgbColor::from_wstr("FAF"L) == Some(RgbColor::from_rgb(0xff, 0xAA, 0xff)));
|
||||
assert!(RgbColor::from_wstr("FAF"L) == Some(RgbColor::from_rgb(0xff, 0xaa, 0xff)));
|
||||
}
|
||||
|
||||
// Regression test for multiplicative overflow in convert_color.
|
||||
|
|
Loading…
Reference in a new issue