Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Indented syntax improvements] Specs #2041

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
48292d0
Port and update sass semicolon tests
jamesnw Nov 5, 2024
7086054
Merge branch 'main' of https://github.com/sass/sass-spec into indente…
jamesnw Nov 25, 2024
402e0cf
Update each tests
jamesnw Nov 27, 2024
1d21902
Test debug, error, warn for multiline
jamesnw Nov 27, 2024
a45a403
Add @for whitespace tests, fix @debug, @error, @warn tests
jamesnw Dec 2, 2024
c7cf104
Extend newlines
jamesnw Dec 2, 2024
51d667a
@import whitespace tests
jamesnw Dec 2, 2024
df219eb
@mixin and @include tests
jamesnw Dec 2, 2024
16da7fb
Test whitespace in media, moz-document, supports
jamesnw Dec 2, 2024
1da98ad
Test whitespace in use and forward
jamesnw Dec 2, 2024
36ea028
Test @function and @return whitespace
jamesnw Dec 2, 2024
e133cf3
Test whitespace in @if
jamesnw Dec 3, 2024
a9f4118
Add @for and @while whitespace tests
jamesnw Dec 3, 2024
66e3afa
Add unknown at rule whitespace tests
jamesnw Dec 3, 2024
4120ffd
Test @at-root whitespace
jamesnw Dec 3, 2024
b0ecac9
Test whitespace in args and @charset
jamesnw Dec 4, 2024
7663057
Test variables whitespace
jamesnw Dec 4, 2024
e25db4b
Test leading whitespace in at-rules in functions and declarations
jamesnw Dec 4, 2024
5877d96
Test whitespace in @forward show/hide
jamesnw Dec 4, 2024
33f0689
Test whitespace in lists
jamesnw Dec 5, 2024
c480999
Test whitespace in important and unary
jamesnw Dec 5, 2024
8be7846
Whitespace in interpolation, unblock expressionUntilComma issues
jamesnw Dec 5, 2024
96827c0
Test whitespace in supports
jamesnw Dec 6, 2024
a94809a
Test whitespace in @media
jamesnw Dec 6, 2024
43ef501
Test whitespace in arg invocations
jamesnw Dec 6, 2024
8864665
Invocation and other whitespace cleanup
jamesnw Dec 6, 2024
2175ad2
Test whitespace comments
jamesnw Dec 12, 2024
024a8b3
Add attribute selector whitespace tests
jamesnw Dec 13, 2024
bdb2de5
Test whitespace in url contents
jamesnw Dec 13, 2024
ab142f6
Test newlines around operators
jamesnw Dec 13, 2024
1da6554
Test/document whitespace in support statements
jamesnw Dec 13, 2024
b137c6a
Merge branch 'main' of https://github.com/sass/sass-spec into indente…
jamesnw Dec 13, 2024
9ce6103
Test newlines in supports statements
jamesnw Dec 16, 2024
3ceb3be
Test whitespace after + import errors
jamesnw Dec 16, 2024
2195c6b
Test newlines in attributes and pseudoclass functions
jamesnw Dec 16, 2024
592c784
Cleanup
jamesnw Dec 16, 2024
c3835f0
Test indentation level in multiline
jamesnw Dec 16, 2024
e985ff6
Remove dangling files
jamesnw Dec 16, 2024
978f587
Lint
jamesnw Dec 16, 2024
cf055c5
Semicolon in sass tests
jamesnw Dec 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 28 additions & 20 deletions spec/callable/arguments.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,24 @@ Error: Positional arguments must come before keyword arguments.

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

e
f: a(
g,
h
)

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

<===>
================================================================================
<===> function/sass/multi-line-arguments/declaration/input.sass
@function a(
$b,
$c
Expand All @@ -304,30 +321,21 @@ Error: Positional arguments must come before keyword arguments.
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/sass/multi-line-arguments/declaration/output.css
e {
f: d;
}

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

e
f: a(
g,
h
)
f: a(g, h)

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