From b03561bc37b1c3f2ae8f7eeca002eba0f8550ca1 Mon Sep 17 00:00:00 2001 From: Connor Skees Date: Fri, 21 Aug 2020 19:38:43 -0400 Subject: [PATCH] add test for multiline comments between function name and args --- tests/functions.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/functions.rs b/tests/functions.rs index b1f41e1..d4e18b9 100644 --- a/tests/functions.rs +++ b/tests/functions.rs @@ -328,3 +328,14 @@ test!( }", "a {\n color: nul;\n}\n" ); +test!( + allows_multiline_comment_between_args, + "@function foo /**/ () /**/ { + @return red; + } + + a { + color: foo(); + }", + "a {\n color: red;\n}\n" +);