diff --git a/tests/functions.rs b/tests/functions.rs index d49354b..041419f 100644 --- a/tests/functions.rs +++ b/tests/functions.rs @@ -28,6 +28,11 @@ test!( "@function a($a) {\n @return $a;\n}\n\nb {\ncolor: a(a(2));\n}\n", "b {\n color: 2;\n}\n" ); +test!( + function_named_arg_value_variable, + "$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!( // return_no_semicolon, // "@function a() {\n @return 1\n}\n\nb {\ncolor: a();\n}\n",