Test for named arg with value of variable

This commit is contained in:
ConnorSkees 2020-02-16 21:38:29 -05:00
parent 42cbd685d3
commit 8e0fdb8585

View File

@ -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",