mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix failing vweb_test.v
This commit is contained in:
@ -212,7 +212,8 @@ Content-Disposition: form-data; name=\"$name\"
|
||||
$contents
|
||||
--------------------------$boundary--
|
||||
"
|
||||
mut x := http.fetch('http://127.0.0.1:$sport/form_echo',
|
||||
mut x := http.fetch(
|
||||
url: 'http://127.0.0.1:$sport/form_echo'
|
||||
method: .post
|
||||
header: http.new_header(
|
||||
key: .content_type
|
||||
@ -238,7 +239,8 @@ fn test_http_client_shutdown_does_not_work_without_a_cookie() {
|
||||
fn testsuite_end() {
|
||||
// This test is guaranteed to be called last.
|
||||
// It sends a request to the server to shutdown.
|
||||
x := http.fetch('http://127.0.0.1:$sport/shutdown',
|
||||
x := http.fetch(
|
||||
url: 'http://127.0.0.1:$sport/shutdown'
|
||||
method: .get
|
||||
cookies: {
|
||||
'skey': 'superman'
|
||||
|
Reference in New Issue
Block a user