Index: lib/src/prism/tests/languages/gherkin/string_feature.test |
diff --git a/lib/src/prism/tests/languages/gherkin/string_feature.test b/lib/src/prism/tests/languages/gherkin/string_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bcb152f7887115c2e74ea01371b406730a8fb83d |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/gherkin/string_feature.test |
@@ -0,0 +1,29 @@ |
+"" |
+"foobar" |
+"foo<bar>baz" |
+'' |
+'foobar' |
+'foo<bar>baz' |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["string", ["\"\""]], |
+ ["string", ["\"foobar\""]], |
+ ["string", [ |
+ "\"foo", |
+ ["outline", "<bar>"], |
+ "baz\"" |
+ ]], |
+ ["string", ["''"]], |
+ ["string", ["'foobar'"]], |
+ ["string", [ |
+ "'foo", |
+ ["outline", "<bar>"], |
+ "baz'" |
+ ]] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for double-quoted and single-quoted strings. |