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

fmt: replace go with spawn

This commit is contained in:
Alexander Medvednikov
2022-11-05 10:46:40 +03:00
parent a082328e40
commit e81e0ac708
126 changed files with 262 additions and 262 deletions

View File

@@ -19,7 +19,7 @@ fn (mut app App) index() vweb.Result {
}
fn test_send_a_request_to_homepage_expecting_a_csrf_cookie() {
go vweb.run_at(&App{}, vweb.RunParams{ port: sport })
spawn vweb.run_at(&App{}, vweb.RunParams{ port: sport })
time.sleep(500 * time.millisecond)
res := http.get('http://localhost:$sport/')?
if res.header.str().contains('__Host-Csrf-Token') {