string_feature.test
702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
""
"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.