Skip to content

Commit

Permalink
Update feature-exists() specs for sass/libsass#2929 (#1434)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 authored Jul 15, 2019
1 parent a838a41 commit b7cc904
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions spec/core_functions/meta/feature_exists.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@ a {

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

<===> named/input.scss
a {b: feature-exists($feature: at-error)}

Expand All @@ -111,7 +106,7 @@ Error: $feature: 1 is not a string.
input.scss 1:7 root stylesheet

<===> error/type/error-libsass
Error: argument `$name` of `feature-exists($name)` must be a string
Error: argument `$feature` of `feature-exists($feature)` must be a string
on line 1:7 of input.scss, in function `feature-exists`
from line 1:7 of input.scss
>> a {b: feature-exists(1)}
Expand All @@ -132,7 +127,7 @@ Error: Missing argument $feature.
input.scss 1:7 root stylesheet

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

Expand Down

0 comments on commit b7cc904

Please sign in to comment.