diff --git a/tests/url.rs b/tests/url.rs index 30b53e9..9331327 100644 --- a/tests/url.rs +++ b/tests/url.rs @@ -122,6 +122,11 @@ test!( "a {\n color:url(;);\n}\n", "a {\n color: url(;);\n}\n" ); +test!( + begins_with_single_forward_slash, + "a {\n color: url(/rust-logo.png);\n}\n", + "a {\n color: url(/rust-logo.png);\n}\n" +); test!( url_uppercase, "a {\n color: URL(http://foo);\n}\n",