test for silent comments in interpolation in url

This commit is contained in:
ConnorSkees 2020-04-21 04:32:09 -04:00
parent f8ab03a94f
commit 9b85dd7446

View File

@ -89,3 +89,8 @@ test!(
"a {\n color: url(http://foo);\n}\n" "a {\n color: url(http://foo);\n}\n"
); );
test!(url_dot_dot, "a {\n color: url(../foo/bar/..baz/);\n}\n"); test!(url_dot_dot, "a {\n color: url(../foo/bar/..baz/);\n}\n");
test!(
silent_comment_in_interpolation,
"$roboto-font-path: \"../fonts/roboto\";\n\na {\n color: url(#{//}\n $roboto-font-path})\n}\n",
"a {\n color: url(../fonts/roboto);\n}\n"
);