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

43 lines
660 B
Plaintext

""
"fo\"obar"
''
'fo\'obar'
b""
b"fo\"obar"
b''
b'fo\'obar'
r#""#
r#"fo"obar"#
r###"foo#bar"###
br#""#
br#"fo"obar"#
br###"foo#bar"###
----------------------------------------------------
[
["string", "\"\""],
["string", "\"fo\\\"obar\""],
["string", "''"],
["string", "'fo\\'obar'"],
["string", "b\"\""],
["string", "b\"fo\\\"obar\""],
["string", "b''"],
["string", "b'fo\\'obar'"],
["string", "r#\"\"#"],
["string", "r#\"fo\"obar\"#"],
["string", "r###\"foo#bar\"###"],
["string", "br#\"\"#"],
["string", "br#\"fo\"obar\"#"],
["string", "br###\"foo#bar\"###"]
]
----------------------------------------------------
Checks for strings.