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

33 lines
519 B
Plaintext

{""}
{"fo\"obar"}
{''}
{'fo\'obar'}
----------------------------------------------------
[
["smarty", [
["delimiter", "{"],
["string", "\"\""],
["delimiter", "}"]
]],
["smarty", [
["delimiter", "{"],
["string", "\"fo\\\"obar\""],
["delimiter", "}"]
]],
["smarty", [
["delimiter", "{"],
["string", "''"],
["delimiter", "}"]
]],
["smarty", [
["delimiter", "{"],
["string", "'fo\\'obar'"],
["delimiter", "}"]
]]
]
----------------------------------------------------
Checks for strings.