Skip to content

Commit

Permalink
Activate specs for issue 2140
Browse files Browse the repository at this point in the history
This PR activates specs for sass/libsass#2140
  • Loading branch information
xzyfer committed Sep 25, 2016
1 parent 9cbf7dd commit 7a89f38
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 26 deletions.
49 changes: 49 additions & 0 deletions spec/libsass-closed-issues/issue_2140/expected_output.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
:root {
--red: #f00;
--red: red;
--red: red; }

a {
content: var(--red); }

a {
content: var(--red); }

a {
content: var(--red); }

b {
content: -red; }

b {
content: -red; }

b {
content: -red; }

c {
content: +-red; }

c {
content: +-red; }

c {
content: +-red; }

d {
content: -red; }

d {
content: -red; }

d {
content: -red; }

e {
content: +red; }

e {
content: +red; }

e {
content: +red; }
28 changes: 28 additions & 0 deletions spec/libsass-closed-issues/issue_2140/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
$red: red;
$foo: red;

:root {
--red: #f00;
--red: $red;
--red: $foo;
}

a { content: var(--red) }
a { content: var(--$red) }
a { content: var(--$foo) }

b { content: (- red) }
b { content: (- $red) }
b { content: (- $foo) }

c { content: (+- red) }
c { content: (+- $red) }
c { content: (+- $foo) }

d { content: (-red) }
d { content: (-$red) }
d { content: (-$foo) }

e { content: (+ red) }
e { content: (+ $red) }
e { content: (+ $foo) }
17 changes: 0 additions & 17 deletions spec/libsass-todo-issues/issue_2140/expected_output.css

This file was deleted.

9 changes: 0 additions & 9 deletions spec/libsass-todo-issues/issue_2140/input.scss

This file was deleted.

0 comments on commit 7a89f38

Please sign in to comment.