jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/yaml/string_feature.test
2016-02-02 21:12:02 -05:00

23 lines
464 B
Plaintext

---
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.