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

25 lines
597 B
Plaintext

"" ''
r"" r''
"""""" ''''''
r"""""" r''''''
"fo\"o" 'fo\'o'
"""foo
bar"""
'''foo
bar'''
----------------------------------------------------
[
["string", "\"\""], ["string", "''"],
["string", "r\"\""], ["string", "r''"],
["string", "\"\"\"\"\"\""], ["string", "''''''"],
["string", "r\"\"\"\"\"\""], ["string", "r''''''"],
["string", "\"fo\\\"o\""], ["string", "'fo\\'o'"],
["string", "\"\"\"foo\r\nbar\"\"\""], ["string", "'''foo\r\nbar'''"]
]
----------------------------------------------------
Checks for single quoted and double quoted strings,
multi-line strings and "raw" strings.