Skip to content

Commit

Permalink
Fix incorrect JzCzHz tests
Browse files Browse the repository at this point in the history
@svgeesus please review, but it seems *extremely* unlikely that 0.75 would be the correct result here, since Hz is an angle
  • Loading branch information
LeaVerou committed May 24, 2024
1 parent a3abb0e commit f0d3e1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,11 @@ const tests = {
},
{
args: "color(jzczhz 0 0.5 75%)",
expect: {spaceId: "jzczhz", coords: [0, 0.5, 0.75], alpha: 1},
expect: {spaceId: "jzczhz", coords: [0, 0.5, 270], alpha: 1},
},
{
args: "color(--jzczhz 0 0.5 75%)",
expect: {spaceId: "jzczhz", coords: [0, 0.5, 0.75], alpha: 1},
expect: {spaceId: "jzczhz", coords: [0, 0.5, 270], alpha: 1},
},
{
args: "color(--hct 0.25turn 50% 25)",
Expand Down

0 comments on commit f0d3e1f

Please sign in to comment.