Skip to content

Commit

Permalink
[Indented syntax improvements] Specs (#2041)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnw authored Feb 5, 2025
1 parent 1dafbb0 commit 73acfbf
Show file tree
Hide file tree
Showing 87 changed files with 5,548 additions and 1,171 deletions.
54 changes: 14 additions & 40 deletions spec/callable/arguments.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,20 @@ a {
b: (positional: ((1,)), named: (c: 2));
}

<===>
================================================================================
<===> function/arguments/sass/input.sass
@function a($b, $c)
@return d

e
f: a(g, h)

<===> function/arguments/sass/output.css
e {
f: d;
}

<===>
================================================================================
<===> function/error/comma_only/input.scss
Expand Down Expand Up @@ -291,43 +305,3 @@ Error: Positional arguments must come before keyword arguments.
| ^
'
input.scss 3:14 root stylesheet

<===>
================================================================================
<===> function/error/sass/multi-line-arguments/declaration/input.sass
@function a(
$b,
$c
)
@return d

e
f: a(g, h)

<===> function/error/sass/multi-line-arguments/declaration/error
Error: expected ")".
,
1 | @function a(
| ^
'
input.sass 1:13 root stylesheet

<===>
================================================================================
<===> function/error/sass/multi-line-arguments/invocation/input.sass
@function a($b, $c)
@return d

e
f: a(
g,
h
)

<===> function/error/sass/multi-line-arguments/invocation/error
Error: expected ")".
,
5 | f: a(
| ^
'
input.sass 5:8 root stylesheet
Loading

0 comments on commit 73acfbf

Please sign in to comment.