explicitly test for urls beginning with single forward slash inside url

This commit is contained in:
Connor Skees 2020-08-13 17:08:53 -04:00
parent 3fca50c305
commit 63bb17fe09

View File

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