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

43 lines
660 B
Plaintext
Raw Normal View History

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