From 539243bb6eb69a64e06b26603616ef4cd3d80843 Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Tue, 31 Mar 2020 01:08:02 -0400 Subject: [PATCH] test for comma separated lists in @each --- tests/each.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/each.rs b/tests/each.rs index 030c68e..a89fa22 100644 --- a/tests/each.rs +++ b/tests/each.rs @@ -8,6 +8,11 @@ test!( "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!( + 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!( each_space_separated_outer, "@each $i in 1 2 3 {\n a {\n color: $i;\n }\n}\n",