Test for trailing comma in function args
@@ -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",
