From f0d3e1f6a6fe29f27da3ca722588fd80597d6e68 Mon Sep 17 00:00:00 2001 From: Lea Verou Date: Fri, 24 May 2024 17:14:53 -0400 Subject: [PATCH] Fix incorrect JzCzHz tests @svgeesus please review, but it seems *extremely* unlikely that 0.75 would be the correct result here, since Hz is an angle --- test/parse.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parse.js b/test/parse.js index 627a80cc2..7093e00d6 100644 --- a/test/parse.js +++ b/test/parse.js @@ -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)",