Test for empty mixins
This commit is contained in:
parent
abaa7724c0
commit
fcb1a71557
@ -458,6 +458,11 @@ mod test_mixins {
|
|||||||
"@mixin a {\n color: red;\n}\n\nb {\n @include a;\n}\n",
|
"@mixin a {\n color: red;\n}\n\nb {\n @include a;\n}\n",
|
||||||
"b {\n color: red;\n}\n"
|
"b {\n color: red;\n}\n"
|
||||||
);
|
);
|
||||||
|
test!(
|
||||||
|
empty_mixin,
|
||||||
|
"@mixin a {}\n\nb {\n @include a;\n}\n",
|
||||||
|
""
|
||||||
|
);
|
||||||
test!(
|
test!(
|
||||||
mixin_two_styles,
|
mixin_two_styles,
|
||||||
"@mixin a {\n color: red;\n color: blue;\n}\n\nb {\n @include a;\n}\n",
|
"@mixin a {\n color: red;\n color: blue;\n}\n\nb {\n @include a;\n}\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user