diff --git a/tests/functions.rs b/tests/functions.rs index 041419f..8b966ed 100644 --- a/tests/functions.rs +++ b/tests/functions.rs @@ -33,6 +33,11 @@ test!( "$x: red;\n\n@function a($a) {\n @return $a;\n}\n\nb {\ncolor: a($a: $x);\n}\n", "b {\n color: red;\n}\n" ); +test!( + function_trailing_comma, + "@function a($a) {\n @return $a;\n}\n\nb {\ncolor: a(red,);\n}\n", + "b {\n color: red;\n}\n" +); // test!( // return_no_semicolon, // "@function a() {\n @return 1\n}\n\nb {\ncolor: a();\n}\n",