mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: fix string interpolation formatting with multiple ',",\' and \" .
This commit is contained in:
@ -213,12 +213,12 @@ fn test_http_client_multipart_form_data() ? {
|
||||
name := 'foo'
|
||||
ct := 'multipart/form-data; boundary=------------------------$boundary'
|
||||
contents := 'baz buzz'
|
||||
data := '--------------------------$boundary
|
||||
data := "--------------------------$boundary
|
||||
Content-Disposition: form-data; name=\"$name\"
|
||||
|
||||
$contents
|
||||
--------------------------$boundary--
|
||||
'
|
||||
"
|
||||
mut x := http.fetch('http://127.0.0.1:$sport/form_echo',
|
||||
method: .post
|
||||
header: http.new_header(
|
||||
|
Reference in New Issue
Block a user