Skip to content

Commit

Permalink
Revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnw committed Jan 30, 2025
1 parent c21daf1 commit cd4eced
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 52 deletions.
100 changes: 50 additions & 50 deletions spec/css/media/whitespace.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -4,56 +4,6 @@

<===> before_query/scss/output.css

<===>
================================================================================
<===> error/before_query/sass/input.sass
@media
screen

<===> error/before_query/sass/error
Error: Expected identifier.
,
1 | @media
| ^
'
input.sass 1:7 root stylesheet

<===>
================================================================================
<===> error/logic_sequence/before_operator/sass/input.sass
@media (a: b)
and (c: d)

<===> error/logic_sequence/before_operator/sass/error
WARNING: This selector doesn't have any properties and won't be rendered.

,
2 | and (c: d)
| ^^^^^^^^^^
'
input.sass 2:3 root stylesheet

Error: expected selector.
,
2 | and (c: d)
| ^
'
input.sass 2:7 root stylesheet

<===>
================================================================================
<===> error/logic_sequence/after_operator/sass/input.sass
@media (a: b) and
(c: d)

<===> error/logic_sequence/after_operator/sass/error
Error: expected media condition in parentheses.
,
1 | @media (a: b) and
| ^
'
input.sass 1:18 root stylesheet

<===>
================================================================================
<===> after_query/scss/input.scss
Expand Down Expand Up @@ -141,3 +91,53 @@ Error: expected media condition in parentheses.
c)

<===> paren/after_second_operator/sass/output.css

<===>
================================================================================
<===> error/before_query/sass/input.sass
@media
screen

<===> error/before_query/sass/error
Error: Expected identifier.
,
1 | @media
| ^
'
input.sass 1:7 root stylesheet

<===>
================================================================================
<===> error/logic_sequence/before_operator/sass/input.sass
@media (a: b)
and (c: d)

<===> error/logic_sequence/before_operator/sass/error
WARNING: This selector doesn't have any properties and won't be rendered.

,
2 | and (c: d)
| ^^^^^^^^^^
'
input.sass 2:3 root stylesheet

Error: expected selector.
,
2 | and (c: d)
| ^
'
input.sass 2:7 root stylesheet

<===>
================================================================================
<===> error/logic_sequence/after_operator/sass/input.sass
@media (a: b) and
(c: d)

<===> error/logic_sequence/after_operator/sass/error
Error: expected media condition in parentheses.
,
1 | @media (a: b) and
| ^
'
input.sass 1:18 root stylesheet
24 changes: 22 additions & 2 deletions spec/directives/extend/whitespace.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,26 @@ a {@extend b

<===> before_optional/scss/output.css

<===>
================================================================================
<===> after_arg/sass/input.sass
a
b: c
d
@extend
a
b
e: f

<===> after_arg/sass/output.css
a, d {
b: c;
}

b {
e: f;
}

<===>
================================================================================
<===> error/before_optional/sass/input.sass
Expand All @@ -52,7 +72,7 @@ Error: Expected newline.

<===>
================================================================================
<===> error/after_arg/sass/input.sass
<===> error/after_arg_indented/sass/input.sass
a
b: c
d
Expand All @@ -61,7 +81,7 @@ d
b
e: f

<===> error/after_arg/sass/error
<===> error/after_arg_indented/sass/error
Error: Nothing may be indented beneath a @extend rule.
,
6 | b
Expand Down

0 comments on commit cd4eced

Please sign in to comment.