From 60c0edecfefbf8fa21dabe8df60cf8271289e88f Mon Sep 17 00:00:00 2001 From: "Carlos (Goodwine)" <2022649+Goodwine@users.noreply.github.com> Date: Thu, 10 Oct 2024 15:36:43 -0700 Subject: [PATCH] Test denominator units using the correct syntax (#2027) * use parentheses --- spec/core_functions/math/unit.hrx | 2 +- spec/libsass/units/simple.hrx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/core_functions/math/unit.hrx b/spec/core_functions/math/unit.hrx index 9264adf96..c30ae0f95 100644 --- a/spec/core_functions/math/unit.hrx +++ b/spec/core_functions/math/unit.hrx @@ -115,7 +115,7 @@ a {b: math.unit(1px * 1em / 1rad / 1s)} <===> numerator_and_denominator/multiple/output.css a { - b: "px*em/rad*s"; + b: "px*em/(rad*s)"; } <===> numerator_and_denominator/multiple/warning diff --git a/spec/libsass/units/simple.hrx b/spec/libsass/units/simple.hrx index 7e8e61b44..440c37ed8 100644 --- a/spec/libsass/units/simple.hrx +++ b/spec/libsass/units/simple.hrx @@ -10,7 +10,7 @@ div { div { hey: 370866.1417322835pt; ho: true; - hoo: "px/fu*emu*gnu"; + hoo: "px/(fu*emu*gnu)"; hee: "cm^-1"; }