Skip to content

Commit

Permalink
Update expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Oct 28, 2022
1 parent 317d698 commit 256f50d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec/core_functions/color/mix.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,10 @@ Error: argument `$weight` of `mix($color1, $color2, $weight: 50%)` must be a num
a {b: mix(red, blue, -0.001%)}

<===> error/bounds/too_low/error
Error: $weight: Expected -0.001 to be within 0 and 100.
Error: $weight: Expected -0.001% to be within 0% and 100%.
,
1 | a {b: mix(red, blue, -0.001)}
| ^^^^^^^^^^^^^^^^^^^^^^
1 | a {b: mix(red, blue, -0.001%)}
| ^^^^^^^^^^^^^^^^^^^^^^^
'
input.scss 1:7 root stylesheet

Expand All @@ -404,10 +404,10 @@ Error: argument `$weight` of `mix($color1, $color2, $weight: 50%)` must be betwe
a {b: mix(red, blue, 100.001%)}

<===> error/bounds/too_high/error
Error: $weight: Expected 100.001 to be within 0 and 100.
Error: $weight: Expected 100.001% to be within 0% and 100%.
,
1 | a {b: mix(red, blue, 100.001)}
| ^^^^^^^^^^^^^^^^^^^^^^^
1 | a {b: mix(red, blue, 100.001%)}
| ^^^^^^^^^^^^^^^^^^^^^^^^
'
input.scss 1:7 root stylesheet

Expand Down

0 comments on commit 256f50d

Please sign in to comment.