Skip to content

Commit 0688208

Browse files
authored
Merge pull request #1440 from nschonni/fix--Update-comparable-signiture
fix: Update comparable signature in LibSass
2 parents 1ff0df8 + 93f625a commit 0688208

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

spec/core_functions/math/comparable.hrx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ a {
5858

5959
<===>
6060
================================================================================
61-
<===> named/options.yml
62-
---
63-
:todo:
64-
- sass/libsass#2916
65-
6661
<===> named/input.scss
6762
a {b: comparable($number1: 1, $number2: 2)}
6863

@@ -85,7 +80,7 @@ Error: $number1: c is not a number.
8580
input.scss 1:7 root stylesheet
8681

8782
<===> error/type/arg_1/error-libsass
88-
Error: argument `$number-1` of `comparable($number-1, $number-2)` must be a number
83+
Error: argument `$number1` of `comparable($number1, $number2)` must be a number
8984
on line 1:7 of input.scss, in function `comparable`
9085
from line 1:7 of input.scss
9186
>> a {b: comparable(c, 1)}
@@ -106,7 +101,7 @@ Error: $number2: c is not a number.
106101
input.scss 1:7 root stylesheet
107102

108103
<===> error/type/arg_2/error-libsass
109-
Error: argument `$number-2` of `comparable($number-1, $number-2)` must be a number
104+
Error: argument `$number2` of `comparable($number1, $number2)` must be a number
110105
on line 1:7 of input.scss, in function `comparable`
111106
from line 1:7 of input.scss
112107
>> a {b: comparable(1, c)}
@@ -127,7 +122,7 @@ Error: Missing argument $number2.
127122
input.scss 1:7 root stylesheet
128123

129124
<===> error/too_few_args/error-libsass
130-
Error: Function comparable is missing argument $number-2.
125+
Error: Function comparable is missing argument $number2.
131126
on line 1 of input.scss
132127
>> a {b: comparable(1)}
133128

0 commit comments

Comments
 (0)