add commas to at-root tests
This commit is contained in:
parent
074b6b50ce
commit
526ed4fde0
@ -5,26 +5,26 @@ mod macros;
|
|||||||
|
|
||||||
test!(
|
test!(
|
||||||
simple_nested,
|
simple_nested,
|
||||||
".foo {\n @at-root {\n .bar {a: b}\n }\n}\n"
|
".foo {\n @at-root {\n .bar {a: b}\n }\n}\n",
|
||||||
".bar {\n a: b;\n}\n"
|
".bar {\n a: b;\n}\n"
|
||||||
);
|
);
|
||||||
test!(
|
test!(
|
||||||
with_selector,
|
with_selector,
|
||||||
".foo {\n @at-root .bar {a: b}\n}\n"
|
".foo {\n @at-root .bar {a: b}\n}\n",
|
||||||
".bar {\n a: b;\n}\n"
|
".bar {\n a: b;\n}\n"
|
||||||
);
|
);
|
||||||
test!(
|
test!(
|
||||||
with_selector_in_mixin,
|
with_selector_in_mixin,
|
||||||
"@mixin bar {\n @at-root .bar {a: b}\n}\n\n.foo {\n @include bar;\n}\n"
|
"@mixin bar {\n @at-root .bar {a: b}\n}\n\n.foo {\n @include bar;\n}\n",
|
||||||
".bar {\n a: b;\n}\n"
|
".bar {\n a: b;\n}\n"
|
||||||
);
|
);
|
||||||
test!(
|
test!(
|
||||||
with_super_selector,
|
with_super_selector,
|
||||||
".foo {\n @at-root & {\n a: b;\n }\n}\n"
|
".foo {\n @at-root & {\n a: b;\n }\n}\n",
|
||||||
".foo {\n a: b;\n}\n"
|
".foo {\n a: b;\n}\n"
|
||||||
);
|
);
|
||||||
test!(
|
test!(
|
||||||
nested_with_super_selector,
|
nested_with_super_selector,
|
||||||
".foo {\n @at-root & {\n .bar {\n @at-root & {\n a: b;\n }\n }\n }\n}\n"
|
".foo {\n @at-root & {\n .bar {\n @at-root & {\n a: b;\n }\n }\n }\n}\n",
|
||||||
".foo .bar {\n a: b;\n}\n"
|
".foo .bar {\n a: b;\n}\n"
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user