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