Skip to content

Commit

Permalink
Update a couple specs for eager dash-normalization in Dart Sass (#1437)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nex3 authored Jul 17, 2019
1 parent 3f45fb6 commit 77fa74a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
11 changes: 3 additions & 8 deletions spec/core_functions/meta/keywords.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -116,18 +116,13 @@ a {

<===>
================================================================================
<===> dash_sensitive/options.yml
---
:todo:
- sass/libsass#2936

<===> dash_sensitive/input.scss
<===> dash_insensitive/input.scss
@import "../utils";
a {b: inspect(args-to-keywords($c-d: e, $f_g: h))}

<===> dash_sensitive/output.css
<===> dash_insensitive/output.css
a {
b: (c-d: e, f_g: h);
b: (c-d: e, f-g: h);
}

<===>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ stylesheet.
19 | $local_explicit: outer !global;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
'
input.scss 19:3 set_variable_outer()
input.scss 19:3 set-variable-outer()
input.scss 24:1 root stylesheet

0 comments on commit 77fa74a

Please sign in to comment.