Skip to content

Commit 71f3bd1

Browse files
committed
test(parser): verify inline comment preservation inside nested selectors
1 parent 1bde4bd commit 71f3bd1

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* inline-comments-nested.css — expected compiled result */
2+
.container .item { // inline comment should be preserved
3+
color: red;
4+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/* inline-comments-nested.less — verify that inline comments survive */
2+
.container {
3+
.item { // inline comment should be preserved
4+
color: red;
5+
}
6+
}

0 commit comments

Comments
 (0)