1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fmt: intelligent newlines for trailing arg syntax (#7748)

This commit is contained in:
Lukas Neubert
2021-01-10 17:39:37 +01:00
committed by GitHub
parent 7b41ef358c
commit d96a1b8a5f
4 changed files with 72 additions and 58 deletions

View File

@@ -197,9 +197,12 @@ 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', method: .get, cookies: {
x := http.fetch('http://127.0.0.1:$sport/shutdown',
method: .get
cookies: {
'skey': 'superman'
}) or {
}
) or {
assert err == ''
return
}