Skip to content

Commit

Permalink
Allow whitespace after comma in memberlist
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnw committed Dec 31, 2024
1 parent 1222be8 commit 2084066
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions spec/directives/forward/whitespace.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,53 @@ $a: 1 !default
$a: 1 !default

<===> after_default/sass/output.css

<===>
================================================================================
<===> show/after_show/sass/input.sass
@forward "other" show
$a

<===> show/after_show/sass/other.scss
$a: 1 !default

<===> show/after_show/sass/output.css

<===>
================================================================================
<===> show/after_a/sass/input.sass
@forward "other" show $a
, $b

<===> show/after_a/sass/other.scss
$a: 1 !default

<===> show/after_a/sass/error
Error: Nothing may be indented beneath a @forward rule.
,
2 | , $b
| ^
'
input.sass 2:3 root stylesheet

<===>
================================================================================
<===> show/after_comma/sass/input.sass
@forward "other" show $a,
$b

<===> show/after_comma/sass/other.scss
$a: 1 !default

<===> show/after_comma/sass/output.css

<===>
================================================================================
<===> hide/after_hide/sass/input.sass
@forward "other" hide
$a

<===> hide/after_hide/sass/other.scss
$a: 1 !default

<===> hide/after_hide/sass/output.css

0 comments on commit 2084066

Please sign in to comment.