Index: lib/src/prism/tests/languages/css/string_feature.test |
diff --git a/lib/src/prism/tests/languages/css/string_feature.test b/lib/src/prism/tests/languages/css/string_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c7dee292746439da757340029f0c25dd98a44171 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/css/string_feature.test |
@@ -0,0 +1,19 @@ |
+"f\"oo" |
+'f\'oo' |
+"foo\ |
+bar" |
+'foo\ |
+bar' |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["string", "\"f\\\"oo\""], |
+ ["string", "'f\\'oo'"], |
+ ["string", "\"foo\\\r\nbar\""], |
+ ["string", "'foo\\\r\nbar'"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for single-quoted and double-quoted strings. |