Skip to content

Commit a5a8d79

Browse files
committed
test case for #486
1 parent fccb074 commit a5a8d79

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

tests/inputs/interpolation.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,11 @@ div {
132132

133133
.pagination {
134134
@include pagination-mixin(5px);
135+
}
136+
137+
@mixin set-border($width) {
138+
border: $width solid #000;
139+
}
140+
.element {
141+
@include set-border(#{2px}); // compiles to "2px solid #000"
135142
}

tests/outputs/interpolation.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,6 @@ a.badge {
7474

7575
.pagination .page-item:first-child .page-link {
7676
border-radius: 5px; }
77+
78+
.element {
79+
border: 2px solid #000; }

tests/outputs_numbered/interpolation.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,6 @@ a.badge {
9393
/* line 126, inputs/interpolation.scss */
9494
.pagination .page-item:first-child .page-link {
9595
border-radius: 5px; }
96+
/* line 140, inputs/interpolation.scss */
97+
.element {
98+
border: 2px solid #000; }

0 commit comments

Comments
 (0)