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