Index: lib/src/prism/tests/languages/r/string_feature.test |
diff --git a/lib/src/prism/tests/languages/r/string_feature.test b/lib/src/prism/tests/languages/r/string_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..341a1a73e444789dbc76ef35f8d5eb575eaaa816 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/r/string_feature.test |
@@ -0,0 +1,17 @@ |
+"" |
+"fo\"obar" |
+'' |
+'fo\'obar' |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["string", "\"\""], |
+ ["string", "\"fo\\\"obar\""], |
+ ["string", "''"], |
+ ["string", "'fo\\'obar'"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for single-quoted and double-quoted strings. |