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

45 lines
696 B
Plaintext

""
"fo\"o"
"foo\
bar"
"foo"B
@""
@"foo"
@"fo""o"
@"foo"B
""""""
"""fo""o"
bar"""
"""foo"""B
'a'
'\''
'\\'
----------------------------------------------------
[
["string", "\"\""],
["string", "\"fo\\\"o\""],
["string", "\"foo\\\r\nbar\""],
["string", "\"foo\"B"],
["string", "@\"\""],
["string", "@\"foo\""],
["string", "@\"fo\"\"o\""],
["string", "@\"foo\"B"],
["string", "\"\"\"\"\"\""],
["string", "\"\"\"fo\"\"o\"\r\nbar\"\"\""],
["string", "\"\"\"foo\"\"\"B"],
["string", "'a'"],
["string", "'\\''"],
["string", "'\\\\'"]
]
----------------------------------------------------
Checks for normal strings, verbatim strings, triple-quoted strings and character literals.