Skip to content

Commit eacba37

Browse files
committed
refs leafo#134, refs leafo#137 - add test case from @smuuf
1 parent 84e84d3 commit eacba37

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

tests/inputs/import.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ code {
1616
}
1717

1818
@import "imports/partial";
19+
20+
body {
21+
color: $variable;
22+
@include partial-mixin();
23+
}

tests/inputs/imports/_partial.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@
33
color: blue;
44
}
55

6+
$variable: #7C2;
67

8+
@mixin partial-mixin() {
9+
background: gray;
10+
}

tests/outputs/import.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ code div {
2121

2222
#partial {
2323
color: blue; }
24+
25+
body {
26+
color: #7c2;
27+
background: gray; }

0 commit comments

Comments
 (0)