string_feature.test
486 Bytes
---
foo: ""
bar: "fo\"obar"
foo: ''
bar: 'fo\'obar'
----------------------------------------------------
[
["punctuation", "---"],
["key", "foo"], ["punctuation", ":"],
["string", "\"\""],
["key", "bar"], ["punctuation", ":"],
["string", "\"fo\\\"obar\""],
["key", "foo"], ["punctuation", ":"],
["string", "''"],
["key", "bar"], ["punctuation", ":"],
["string", "'fo\\'obar'"]
]
----------------------------------------------------
Checks for strings.