test for comma separated lists in @each
This commit is contained in:
parent
f7d9d4432a
commit
539243bb6e
@ -8,6 +8,11 @@ test!(
|
|||||||
"a {\n @each $i in 1 2 3 {\n color: $i;\n }\n}\n",
|
"a {\n @each $i in 1 2 3 {\n color: $i;\n }\n}\n",
|
||||||
"a {\n color: 1;\n color: 2;\n color: 3;\n}\n"
|
"a {\n color: 1;\n color: 2;\n color: 3;\n}\n"
|
||||||
);
|
);
|
||||||
|
test!(
|
||||||
|
each_comma_separated_inner,
|
||||||
|
"a {\n @each $i in 1, 2, 3 {\n color: $i;\n }\n}\n",
|
||||||
|
"a {\n color: 1;\n color: 2;\n color: 3;\n}\n"
|
||||||
|
);
|
||||||
test!(
|
test!(
|
||||||
each_space_separated_outer,
|
each_space_separated_outer,
|
||||||
"@each $i in 1 2 3 {\n a {\n color: $i;\n }\n}\n",
|
"@each $i in 1 2 3 {\n a {\n color: $i;\n }\n}\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user