From 9b85dd7446db8f2a8e30a6db2dc00080ddf2b1c7 Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Tue, 21 Apr 2020 04:32:09 -0400 Subject: [PATCH] test for silent comments in interpolation in url --- tests/url.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/url.rs b/tests/url.rs index c28dcfb..253b906 100644 --- a/tests/url.rs +++ b/tests/url.rs @@ -89,3 +89,8 @@ test!( "a {\n color: url(http://foo);\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" +);