jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/parser/string_feature.test

47 lines
794 B
Plaintext
Raw Normal View History

2016-02-03 16:00:01 -07:00
("")
("foo^"bar")
("foo
bar")
('')
('foo^'bar')
('foo
bar')
----------------------------------------------------
[
["expression", [
["punctuation", "("],
["string", "\"\""],
["punctuation", ")"]
]],
["expression", [
["punctuation", "("],
["string", "\"foo^\"bar\""],
["punctuation", ")"]
]],
["expression", [
["punctuation", "("],
["string", "\"foo\r\nbar\""],
["punctuation", ")"]
]],
["expression", [
["punctuation", "("],
["string", "''"],
["punctuation", ")"]
]],
["expression", [
["punctuation", "("],
["string", "'foo^'bar'"],
["punctuation", ")"]
]],
["expression", [
["punctuation", "("],
["string", "'foo\r\nbar'"],
["punctuation", ")"]
]]
]
----------------------------------------------------
Checks for strings inside expressions.