Skip to content

Commit

Permalink
fix: Update comparable signiture
Browse files Browse the repository at this point in the history
[skip libsass]
  • Loading branch information
nschonni committed Jul 17, 2019
1 parent 3f45fb6 commit 688ef97
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions spec/core_functions/math/comparable.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ a {

<===>
================================================================================
<===> named/options.yml
---
:todo:
- sass/libsass#2916

<===> named/input.scss
a {b: comparable($number1: 1, $number2: 2)}

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

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

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

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

Expand Down

0 comments on commit 688ef97

Please sign in to comment.