Skip to content

Commit 0295e0c

Browse files
committed
Improve spec test for libsass issue 1583
sass/libsass#1583
1 parent ff9608b commit 0295e0c

File tree

5 files changed

+41
-1
lines changed

5 files changed

+41
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
foo { baz: 1; baz: list; baz: (foo,); }
2+
3+
bar { baz: 1; baz: list; baz: (bar,); }
4+
15
foo { string: (foo,); str-length: 6; list-length: 1; }
26

37
foo, bar { string: foo, bar; str-length: 8; list-length: 2; }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
foo{string:(foo,);str-length:6;list-length:1}foo,bar{string:foo, bar;str-length:8;list-length:2}
1+
foo{baz:1;baz:list;baz:(foo,)}bar{baz:1;baz:list;baz:(bar,)}foo{string:(foo,);str-length:6;list-length:1}foo,bar{string:foo, bar;str-length:8;list-length:2}

spec/libsass-todo-issues/issue_1583/expected.expanded.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
foo {
2+
baz: 1;
3+
baz: list;
4+
baz: (foo,);
5+
}
6+
7+
bar {
8+
baz: 1;
9+
baz: list;
10+
baz: (bar,);
11+
}
12+
113
foo {
214
string: (foo,);
315
str-length: 6;

spec/libsass-todo-issues/issue_1583/expected_output.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
foo {
2+
baz: 1;
3+
baz: list;
4+
baz: (foo,); }
5+
6+
bar {
7+
baz: 1;
8+
baz: list;
9+
baz: (bar,); }
10+
111
foo {
212
string: (foo,);
313
str-length: 6;

spec/libsass-todo-issues/issue_1583/input.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
$ls: ((foo,));
2+
3+
foo {
4+
baz: length($ls);
5+
baz: type-of($ls);
6+
baz: inspect($ls);
7+
}
8+
9+
bar {
10+
baz: length(&);
11+
baz: type-of(&);
12+
baz: inspect(&);
13+
}
14+
115
foo {
216
string: inspect(&);
317
str-length: str-length(inspect(&));

0 commit comments

Comments
 (0)