jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/lua/string_feature.test
2016-02-03 18:00:01 -05:00

32 lines
516 B
Plaintext

""
"Fo\"obar"
"Foo\
bar\z
baz"
''
'Fo\'obar'
'Foo\
bar\z
baz'
[[Foo
bar]]
[====[Foo
bar]=====] ]===]
baz]====]
----------------------------------------------------
[
["string", "\"\""],
["string", "\"Fo\\\"obar\""],
["string", "\"Foo\\\r\nbar\\z\r\nbaz\""],
["string", "''"],
["string", "'Fo\\'obar'"],
["string", "'Foo\\\r\nbar\\z\r\nbaz'"],
["string", "[[Foo\r\nbar]]"],
["string", "[====[Foo\r\nbar]=====] ]===]\r\nbaz]====]"]
]
----------------------------------------------------
Checks for strings.