mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
test1664: extend with more tests for curlx_str_quotedword
Closes #20123
This commit is contained in:
parent
258521e170
commit
bfa5857c44
@ -50,9 +50,14 @@ curlx_str_quotedword
|
||||
6: (""perfect"") 0, "perfect" [7], line 9
|
||||
7: (""p r e t"") 0, "p r e t" [7], line 9
|
||||
8: (""perfec\"") 1, "" [0], line 0
|
||||
9: ("""") 0, "" [0], line 2
|
||||
10: ("") 3, "" [0], line 0
|
||||
11: (""longerth"") 1, "" [0], line 0
|
||||
9: (""trail\""") 0, "trail\"" [7], line 9
|
||||
10: (""trail2\""") 1, "" [0], line 0
|
||||
11: (""trail33\""") 1, "" [0], line 0
|
||||
12: (""0\\\\\\"") 0, "0\\\\\\" [7], line 9
|
||||
13: (""1\\\\\\\"") 1, "" [0], line 0
|
||||
14: ("""") 0, "" [0], line 2
|
||||
15: ("") 3, "" [0], line 0
|
||||
16: (""longerth"") 1, "" [0], line 0
|
||||
curlx_str_single
|
||||
0: ("a") 0, line 1
|
||||
1: ("aa") 0, line 1
|
||||
|
||||
@ -88,6 +88,11 @@ static CURLcode test_unit1664(const char *arg)
|
||||
"\"perfect\"",
|
||||
"\"p r e t\"",
|
||||
"\"perfec\\\"",
|
||||
"\"trail\\\"\"",
|
||||
"\"trail2\\\"\"",
|
||||
"\"trail33\\\"\"",
|
||||
"\"0\\\\\\\\\\\\\"",
|
||||
"\"1\\\\\\\\\\\\\\\"",
|
||||
"\"\"",
|
||||
"",
|
||||
"\"longerth\"",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user