Test for empty mixins

This commit is contained in:
ConnorSkees 2020-01-25 18:42:49 -05:00
parent abaa7724c0
commit fcb1a71557

View File

@ -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",