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