Skip to content

Commit

Permalink
Add test for sass/libsass#2786 (#1370)
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm authored and nex3 committed Apr 4, 2019
1 parent 368cfed commit 53c8f41
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/trailing_or/input.scss
@supports (a: b) or {}

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

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

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

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

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

0 comments on commit 53c8f41

Please sign in to comment.