Skip to content

Commit

Permalink
Add regression test for sass/dart-sass#2023 (#1923)
Browse files Browse the repository at this point in the history
* Add regression test for sass/dart-sass#2023

* ignore for libsas because of @use
  • Loading branch information
Goodwine committed Jul 14, 2023
1 parent 7e815e3 commit 5b2a0fc
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions spec/css/custom_properties/name_interpolation.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,24 @@ a {
a {
--b-c: d;
}

<===>
================================================================================
<===> import_nesting_use/options.yml
:ignore_for:
- libsass

<===> import_nesting_use/input.scss
// Regression test for sass/dart-sass#2023
@import 'foo';

<===> import_nesting_use/foo.scss
@use 'bar';

<===> import_nesting_use/bar.scss
a { #{--}: b c }

<===> import_nesting_use/output.css
a {
--: b c;
}

0 comments on commit 5b2a0fc

Please sign in to comment.