Skip to content

Commit

Permalink
Add specs for issue 2151
Browse files Browse the repository at this point in the history
This PR add specs for sass/libsass#2151
  • Loading branch information
xzyfer committed Sep 4, 2017
1 parent 25bcd07 commit 8c9c7be
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/libsass-todo-issues/issue_2151/error
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
DEPRECATION WARNING on line 2 of /sass/spec/libsass-issues/issue_2151/input.scss: #{} interpolation near operators will be simplified in a future version of Sass. To preserve the current behavior, use quotes:

unquote("#{$v} + #{$v} + #{$v} + #{$v} + #{$v}")

You can use the sass-convert command to automatically fix most cases.
2 changes: 2 additions & 0 deletions spec/libsass-todo-issues/issue_2151/expected_output.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
a {
b: 1px + 1px + 1px + 1px + 1px; }
6 changes: 6 additions & 0 deletions spec/libsass-todo-issues/issue_2151/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$v: 1px;
$b: #{$v} + #{$v} + #{$v} + #{$v} + #{$v};

a {
b: $b;
}

0 comments on commit 8c9c7be

Please # to comment.