Skip to content

Commit

Permalink
Update sass-spec to 2025-01-29.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaj committed Jan 31, 2025
1 parent 392adab commit 3d99c57
Show file tree
Hide file tree
Showing 46 changed files with 134 additions and 134 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ project adheres to
* Pure css `round()` may take an expression argument.
* Minor changes in agrument syntax errors.
* Updated `nom` to 8.0.0 and added `nom-language` 0.1.0.
* Updated sass-spec test suite to 2024-12-12.
* Updated sass-spec test suite to 2025-01-29.


## Release 0.28.10
Expand Down
6 changes: 3 additions & 3 deletions rsass/tests/spec/core_functions/color/adjust_hue/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fn non_legacy() {
runner().err(
"a {b: adjust-hue(lch(0% 0 0deg), 10deg)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down Expand Up @@ -71,7 +71,7 @@ mod test_type {
runner().err(
"a {b: adjust-hue(1, 2)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -94,7 +94,7 @@ mod test_type {
runner().err(
"a {b: adjust-hue(red, blue)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down
10 changes: 5 additions & 5 deletions rsass/tests/spec/core_functions/color/darken.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mod error {
runner().err(
"a {b: darken(red, 100.001)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -52,7 +52,7 @@ mod error {
runner().err(
"a {b: darken(red, -0.001)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -76,7 +76,7 @@ mod error {
runner().err(
"a {b: darken(color(srgb 1 1 1), 10%)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down Expand Up @@ -135,7 +135,7 @@ mod error {
runner().err(
"a {b: darken(1, 2)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -158,7 +158,7 @@ mod error {
runner().err(
"a {b: darken(red, blue)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down
10 changes: 5 additions & 5 deletions rsass/tests/spec/core_functions/color/desaturate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mod error {
runner().err(
"a {b: desaturate(plum, 100.001)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -52,7 +52,7 @@ mod error {
runner().err(
"a {b: desaturate(plum, -0.001)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -76,7 +76,7 @@ mod error {
runner().err(
"a {b: desaturate(color(srgb 1 1 1), 10%)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down Expand Up @@ -156,7 +156,7 @@ mod error {
runner().err(
"a {b: desaturate(1, 2)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -179,7 +179,7 @@ mod error {
runner().err(
"a {b: desaturate(plum, blue)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down
12 changes: 6 additions & 6 deletions rsass/tests/spec/core_functions/color/fade_in.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mod error {
runner().err(
"a {b: fade-in(red, 1.001)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -43,7 +43,7 @@ mod error {
runner().err(
"a {b: fade-in(red, -0.001)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -68,7 +68,7 @@ mod error {
\n// fully forbidden (sass/sass#3374).\
\na {b: fade-in(red, 50%)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -92,7 +92,7 @@ mod error {
runner().err(
"a {b: fade-in(color(srgb 1 1 1 / 0.1), 0.1)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down Expand Up @@ -151,7 +151,7 @@ mod error {
runner().err(
"a {b: fade-in(red, blue)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -174,7 +174,7 @@ mod error {
runner().err(
"a {b: fade-in(1, 0.1)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down
12 changes: 6 additions & 6 deletions rsass/tests/spec/core_functions/color/fade_out.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mod error {
runner().err(
"a {b: fade-out(red, 1.001)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -43,7 +43,7 @@ mod error {
runner().err(
"a {b: fade-out(red, -0.001)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -68,7 +68,7 @@ mod error {
\n// fully forbidden (sass/sass#3374).\
\na {b: fade-out(red, 50%)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -92,7 +92,7 @@ mod error {
runner().err(
"a {b: fade-out(color(srgb 1 1 1), 0.1)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down Expand Up @@ -151,7 +151,7 @@ mod error {
runner().err(
"a {b: fade-out(red, blue)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -174,7 +174,7 @@ mod error {
runner().err(
"a {b: fade-out(1, 0.1)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down
18 changes: 9 additions & 9 deletions rsass/tests/spec/core_functions/color/invert/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ mod global {
runner().err(
"a {b: invert(c)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.invert instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down Expand Up @@ -102,7 +102,7 @@ mod missing {
runner().err(
"a {b: invert(rgb(10 none 20), $space: xyz)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.invert instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -125,7 +125,7 @@ mod missing {
runner().err(
"a {b: invert(grey, $space: hsl)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.invert instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -152,7 +152,7 @@ mod missing {
runner().err(
"a {b: invert(hsl(0 40% none), $space: hsl)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.invert instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -175,7 +175,7 @@ mod missing {
runner().err(
"a {b: invert(hwb(none 10% 20%), $space: hwb)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.invert instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -198,7 +198,7 @@ mod missing {
runner().err(
"a {b: invert(rgb(none 10 20))}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.invert instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down Expand Up @@ -227,7 +227,7 @@ mod missing {
runner().err(
"a {b: invert(color(rec2020 0.1 none 0.2), $space: xyz)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.invert instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -250,7 +250,7 @@ mod missing {
runner().err(
"a {b: invert(color(rec2020 0.4 0.4 0.4), $space: lch)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.invert instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -273,7 +273,7 @@ mod missing {
runner().err(
"a {b: invert(color(srgb none 0.1 0.2), $space: srgb)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.invert instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down
10 changes: 5 additions & 5 deletions rsass/tests/spec/core_functions/color/lighten.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mod error {
runner().err(
"a {b: lighten(red, 100.001)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -52,7 +52,7 @@ mod error {
runner().err(
"a {b: lighten(red, -0.001)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -76,7 +76,7 @@ mod error {
runner().err(
"a {b: lighten(color(srgb 0 0 0), 10%)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down Expand Up @@ -135,7 +135,7 @@ mod error {
runner().err(
"a {b: lighten(1, 2)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand All @@ -158,7 +158,7 @@ mod error {
runner().err(
"a {b: lighten(red, blue)}\n"
),
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
\nUse color.adjust instead.\n\
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
\n ,\
Expand Down
Loading

0 comments on commit 3d99c57

Please sign in to comment.