Index: lib/src/prism/tests/languages/css/url_feature.test |
diff --git a/lib/src/prism/tests/languages/css/url_feature.test b/lib/src/prism/tests/languages/css/url_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..05ce8f9f74279884569e3eba611d22bc9fcce433 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/css/url_feature.test |
@@ -0,0 +1,21 @@ |
+url(foo.png) |
+url('foo.png') |
+url("foo.png") |
+url('foo\ |
+bar.png') |
+url("foo\ |
+bar.png") |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["url", "url(foo.png)"], |
+ ["url", "url('foo.png')"], |
+ ["url", "url(\"foo.png\")"], |
+ ["url", "url('foo\\\r\nbar.png')"], |
+ ["url", "url(\"foo\\\r\nbar.png\")"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for url(), unquoted, single-quoted and double-quoted. |