Skip to content

Commit

Permalink
Add test for sass/libsass#2786
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Apr 4, 2019
1 parent 368cfed commit 812cb78
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions spec/directives/supports.hrx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<===> error/syntax/input.scss
@supports (a: b) or {}

<===> error/syntax/error
Error: expected "(".
,
3 | @supports (a: b) or {
| ^
'
/sass/spec/directives/supports/error/syntax/input.scss 1:25 root stylesheet

<===> error/syntax/error-libsass
Error: Invalid CSS after "...orts (a: b) or ": expected @supports condition (e.g. (display: flexbox)), was "{"
on line 1:24 of /sass/spec/directives/supports/error/syntax/input.scss
>> @supports (a: b) or {

-----------------------^

<===> error/syntax/error-ruby-sass
Error: Invalid CSS after "...orts (a: b) or ": expected @supports condition (e.g. (display: flexbox)), was "{"
on line 1:24 of /sass/spec/directives/supports/error/syntax/input.scss
>> @supports (a: b) or {

-----------------------^

0 comments on commit 812cb78

Please sign in to comment.