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

32 lines
475 B
Plaintext

""
"fo\"o"
@""
@"foo"
@"fo""o"
@"foo
bar"
'a'
'\''
'\\'
----------------------------------------------------
[
["string", "\"\""],
["string", "\"fo\\\"o\""],
["string", "@\"\""],
["string", "@\"foo\""],
["string", "@\"fo\"\"o\""],
["string", "@\"foo\r\nbar\""],
["string", "'a'"],
["string", "'\\''"],
["string", "'\\\\'"]
]
----------------------------------------------------
Checks for normal and verbatim strings.
Also checks for single quoted characters.