Skip to content

Commit 77fa74a

Browse files
authored
Update a couple specs for eager dash-normalization in Dart Sass (#1437)
We're going against Ruby Sass in normalizing the keys in the keywords() function, but this is the more user-friendly solution because it doesn't require users to manually dash-normalize in order to match caller expectations.
1 parent 3f45fb6 commit 77fa74a

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

spec/core_functions/meta/keywords.hrx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,18 +116,13 @@ a {
116116

117117
<===>
118118
================================================================================
119-
<===> dash_sensitive/options.yml
120-
---
121-
:todo:
122-
- sass/libsass#2936
123-
124-
<===> dash_sensitive/input.scss
119+
<===> dash_insensitive/input.scss
125120
@import "../utils";
126121
a {b: inspect(args-to-keywords($c-d: e, $f_g: h))}
127122

128-
<===> dash_sensitive/output.css
123+
<===> dash_insensitive/output.css
129124
a {
130-
b: (c-d: e, f_g: h);
125+
b: (c-d: e, f-g: h);
131126
}
132127

133128
<===>

spec/libsass/variable-scoping/blead-global/expanding/mixin.hrx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ stylesheet.
7171
19 | $local_explicit: outer !global;
7272
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7373
'
74-
input.scss 19:3 set_variable_outer()
74+
input.scss 19:3 set-variable-outer()
7575
input.scss 24:1 root stylesheet

0 commit comments

Comments
 (0)