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

24 lines
421 B
Plaintext
Raw Normal View History

2016-02-03 16:00:01 -07:00
""
''
"f\"oo"
'b\'ar'
"foo\
bar"
'foo\
bar'
----------------------------------------------------
[
["string", "\"\""],
["string", "''"],
["string", "\"f\\\"oo\""],
["string", "'b\\'ar'"],
["string", "\"foo\\\r\nbar\""],
["string", "'foo\\\r\nbar'"]
]
----------------------------------------------------
Checks for empty strings, single-line strings and
multi-line strings, both single-quoted and double-quoted.