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

45 lines
696 B
Plaintext
Raw Normal View History

2016-02-03 16:00:01 -07:00
""
"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.