Index: lib/src/prism/tests/languages/bison/string_feature.test |
diff --git a/lib/src/prism/tests/languages/bison/string_feature.test b/lib/src/prism/tests/languages/bison/string_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3f3f6c0d58c9368373870c5e24827adf1b8ddfad |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/bison/string_feature.test |
@@ -0,0 +1,21 @@ |
+%% |
+foo: 'foo' "foo"; |
+bar: '\'' "\""; |
+%% |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["bison", [ |
+ ["punctuation", "%%"], |
+ ["property", "foo"], ["punctuation", ":"], |
+ ["string", "'foo'"], ["string", "\"foo\""], ["punctuation", ";"], |
+ ["property", "bar"], ["punctuation", ":"], |
+ ["string", "'\\''"], ["string", "\"\\\"\""], ["punctuation", ";"], |
+ ["punctuation", "%%"] |
+ ]] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for strings. |