Skip to content

Commit 7e54715

Browse files
committed
Unit test for leafo#565 : interpolation in comments
1 parent 986957e commit 7e54715

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

tests/inputs/comments.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,12 @@ a {
4545

4646
// коммент
4747

48+
$color:red;
49+
$radius:2px;
50+
51+
/* This is a comment with vars references:
52+
color:#{$color}
53+
radius:#{$radius}
54+
*/
55+
4856
// end

tests/outputs/comments.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ a {
3030
/* comment 6 */ }
3131
/* comment 7 */
3232
/* коммент */
33+
/* This is a comment with vars references:
34+
color:red
35+
radius:2px
36+
*/

tests/outputs_numbered/comments.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ a {
3232
/* comment 6 */ }
3333
/* comment 7 */
3434
/* коммент */
35+
/* This is a comment with vars references:
36+
color:red
37+
radius:2px
38+
*/

0 commit comments

Comments
 (0)