From fcb1a7155713f825fa032810af36e9fec16223d3 Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Sat, 25 Jan 2020 18:42:49 -0500 Subject: [PATCH] Test for empty mixins --- tests/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/main.rs b/tests/main.rs index ddbe9db..a1487c1 100644 --- a/tests/main.rs +++ b/tests/main.rs @@ -458,6 +458,11 @@ mod test_mixins { "@mixin a {\n color: red;\n}\n\nb {\n @include a;\n}\n", "b {\n color: red;\n}\n" ); + test!( + empty_mixin, + "@mixin a {}\n\nb {\n @include a;\n}\n", + "" + ); test!( mixin_two_styles, "@mixin a {\n color: red;\n color: blue;\n}\n\nb {\n @include a;\n}\n",