Skip to content

Commit

Permalink
Merge pull request #9 from dandavison/fix-typo
Browse files Browse the repository at this point in the history
Fix name in test
  • Loading branch information
bash authored Mar 12, 2024
2 parents 7cc0e7e + dc05ff6 commit 637ec27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ mod tests {

#[test]
fn white_has_perceived_lightness_100() {
let black = Color {
let white = Color {
r: u16::MAX,
g: u16::MAX,
b: u16::MAX,
};
assert_eq!(100, black.perceived_lightness())
assert_eq!(100, white.perceived_lightness())
}
}

0 comments on commit 637ec27

Please sign in to comment.