-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test whitespace in functions and parentheses
- Loading branch information
Showing
5 changed files
with
315 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
<===> after_paren/input.sass | ||
a | ||
b: append( | ||
c d, e) | ||
|
||
<===> after_paren/output.css | ||
a { | ||
b: c d e; | ||
} | ||
|
||
<===> after_paren/warning | ||
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0. | ||
Use list.append instead. | ||
|
||
More info and automated migrator: https://sass-lang.com/d/import | ||
|
||
, | ||
2 | b: append( | ||
| ,------^ | ||
3 | \ c d, e) | ||
' | ||
input.sass 2:6 root stylesheet | ||
|
||
<===> | ||
================================================================================ | ||
<===> after_value/input.sass | ||
a | ||
b: append(c | ||
d, e) | ||
|
||
<===> after_value/output.css | ||
a { | ||
b: c d e; | ||
} | ||
|
||
<===> after_value/warning | ||
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0. | ||
Use list.append instead. | ||
|
||
More info and automated migrator: https://sass-lang.com/d/import | ||
|
||
, | ||
2 | b: append(c | ||
| ,------^ | ||
3 | \ d, e) | ||
' | ||
input.sass 2:6 root stylesheet | ||
|
||
<===> | ||
================================================================================ | ||
<===> before_comma/input.sass | ||
a | ||
b: append(c d | ||
, e) | ||
|
||
<===> before_comma/output.css | ||
a { | ||
b: c d e; | ||
} | ||
|
||
<===> before_comma/warning | ||
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0. | ||
Use list.append instead. | ||
|
||
More info and automated migrator: https://sass-lang.com/d/import | ||
|
||
, | ||
2 | b: append(c d | ||
| ,------^ | ||
3 | \ , e) | ||
' | ||
input.sass 2:6 root stylesheet | ||
|
||
<===> | ||
================================================================================ | ||
<===> after_comma/input.sass | ||
a | ||
b: append(c d, | ||
e) | ||
|
||
<===> after_comma/output.css | ||
a { | ||
b: c d e; | ||
} | ||
|
||
<===> after_comma/warning | ||
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0. | ||
Use list.append instead. | ||
|
||
More info and automated migrator: https://sass-lang.com/d/import | ||
|
||
, | ||
2 | b: append(c d, | ||
| ,------^ | ||
3 | \ e) | ||
' | ||
input.sass 2:6 root stylesheet | ||
|
||
<===> | ||
================================================================================ | ||
<===> before_paren/input.sass | ||
a | ||
b: append(c d, e | ||
) | ||
|
||
<===> before_paren/output.css | ||
a { | ||
b: c d e; | ||
} | ||
|
||
<===> before_paren/warning | ||
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0. | ||
Use list.append instead. | ||
|
||
More info and automated migrator: https://sass-lang.com/d/import | ||
|
||
, | ||
2 | b: append(c d, e | ||
| ,------^ | ||
3 | \ ) | ||
' | ||
input.sass 2:6 root stylesheet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<===> after_paren/input.sass | ||
@use "sass:list"; | ||
a | ||
b: list.append( | ||
c d, e) | ||
|
||
<===> after_paren/output.css | ||
a { | ||
b: c d e; | ||
} | ||
|
||
<===> | ||
================================================================================ | ||
<===> after_value/input.sass | ||
@use "sass:list"; | ||
a | ||
b: list.append(c | ||
d, e) | ||
|
||
<===> after_value/output.css | ||
a { | ||
b: c d e; | ||
} | ||
|
||
<===> | ||
================================================================================ | ||
<===> before_comma/input.sass | ||
@use "sass:list"; | ||
a | ||
b: list.append(c d | ||
, e) | ||
|
||
<===> before_comma/output.css | ||
a { | ||
b: c d e; | ||
} | ||
|
||
<===> | ||
================================================================================ | ||
<===> after_comma/input.sass | ||
@use "sass:list"; | ||
a | ||
b: list.append(c d, | ||
e) | ||
|
||
<===> after_comma/output.css | ||
a { | ||
b: c d e; | ||
} | ||
|
||
<===> | ||
================================================================================ | ||
<===> before_paren/input.sass | ||
@use "sass:list"; | ||
a | ||
b: list.append(c d, e | ||
) | ||
|
||
<===> before_paren/output.css | ||
a { | ||
b: c d e; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<===> value/before/input.sass | ||
a | ||
b: c( | ||
d) | ||
|
||
<===> value/before/output.css | ||
a { | ||
b: c(d); | ||
} | ||
|
||
<===> | ||
================================================================================ | ||
<===> value/after/input.sass | ||
a | ||
b: c(d | ||
) | ||
|
||
<===> value/after/output.css | ||
a { | ||
b: c(d); | ||
} | ||
|
||
<===> | ||
================================================================================ | ||
<===> value/between/input.sass | ||
a | ||
b: c(d | ||
e) | ||
|
||
<===> value/between/output.css | ||
a { | ||
b: c(d e); | ||
} | ||
|
||
<===> | ||
================================================================================ | ||
<===> comma/before/input.sass | ||
a | ||
b: c(d | ||
,e) | ||
|
||
<===> comma/before/output.css | ||
a { | ||
b: c(d, e); | ||
} | ||
|
||
<===> | ||
================================================================================ | ||
<===> comma/after/input.sass | ||
a | ||
b: c(d, | ||
e) | ||
|
||
<===> comma/after/output.css | ||
a { | ||
b: c(d, e); | ||
} | ||
|
||
<===> | ||
================================================================================ | ||
<===> trailing_comma/before/input.sass | ||
a | ||
b: c(d | ||
,) | ||
|
||
<===> trailing_comma/before/output.css | ||
a { | ||
b: c(d); | ||
} | ||
|
||
<===> | ||
================================================================================ | ||
<===> trailing_comma/after/input.sass | ||
a | ||
b: c(d, | ||
) | ||
|
||
<===> trailing_comma/after/output.css | ||
a { | ||
b: c(d); | ||
} | ||
|
||
<===> | ||
================================================================================ | ||
<===> slash/before/input.sass | ||
a | ||
b: c(d | ||
/ e) | ||
|
||
<===> slash/before/output.css | ||
a { | ||
b: c(d/e); | ||
} | ||
|
||
<===> | ||
================================================================================ | ||
<===> slash/after/input.sass | ||
a | ||
b: c(d / | ||
e) | ||
|
||
<===> slash/after/output.css | ||
a { | ||
b: c(d/e); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters