Skip to content

Commit fa400ba

Browse files
committed
Merge pull request #678 from mgreter/todo/issue-1723
Add spec test for libsass issue 1723
2 parents 7cb95de + c7628b8 commit fa400ba

File tree

5 files changed

+86
-0
lines changed

5 files changed

+86
-0
lines changed

spec/libsass-todo-issues/issue_1723/expected.compact.css

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/libsass-todo-issues/issue_1723/expected.compressed.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
test-1 test-2 test-3 test-4 test-5,
2+
test-6 test-7 test-8 test-9 test-10 {
3+
set: test-1 test-2 test-3 test-4 test-5;
4+
selector: test-1;
5+
selector: test-2;
6+
selector: test-3;
7+
selector: test-4;
8+
selector: test-5;
9+
set: test-6 test-7 test-8 test-9 test-10;
10+
selector: test-6;
11+
selector: test-7;
12+
selector: test-8;
13+
selector: test-9;
14+
selector: test-10;
15+
}
16+
17+
test-1 test-2 test-3 test-4 test-5,
18+
test-6 test-7 test-8 test-9 test-10 {
19+
set: test-1 test-2 test-3 test-4 test-5;
20+
selector: test-1;
21+
selector: test-2;
22+
selector: test-3;
23+
selector: test-4;
24+
selector: test-5;
25+
set: test-6 test-7 test-8 test-9 test-10;
26+
selector: test-6;
27+
selector: test-7;
28+
selector: test-8;
29+
selector: test-9;
30+
selector: test-10;
31+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
test-1 test-2 test-3 test-4 test-5,
2+
test-6 test-7 test-8 test-9 test-10 {
3+
set: test-1 test-2 test-3 test-4 test-5;
4+
selector: test-1;
5+
selector: test-2;
6+
selector: test-3;
7+
selector: test-4;
8+
selector: test-5;
9+
set: test-6 test-7 test-8 test-9 test-10;
10+
selector: test-6;
11+
selector: test-7;
12+
selector: test-8;
13+
selector: test-9;
14+
selector: test-10; }
15+
16+
test-1 test-2 test-3 test-4 test-5,
17+
test-6 test-7 test-8 test-9 test-10 {
18+
set: test-1 test-2 test-3 test-4 test-5;
19+
selector: test-1;
20+
selector: test-2;
21+
selector: test-3;
22+
selector: test-4;
23+
selector: test-5;
24+
set: test-6 test-7 test-8 test-9 test-10;
25+
selector: test-6;
26+
selector: test-7;
27+
selector: test-8;
28+
selector: test-9;
29+
selector: test-10; }
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
test-1 test-2 test-3 test-4 test-5,
2+
test-6 test-7 test-8 test-9 test-10 {
3+
@each $set in & {
4+
set: inspect($set);
5+
6+
@each $selector in $set {
7+
selector: inspect($selector);
8+
}
9+
}
10+
}
11+
12+
test-1 test-2 test-3 test-4 test-5,
13+
test-6 test-7 test-8 test-9 test-10 {
14+
@for $i from 1 through length(&) {
15+
$set: nth(&, $i);
16+
set: inspect($set);
17+
18+
@each $selector in $set {
19+
selector: inspect($selector);
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)