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

ci: reduce chances of false positives from vweb_test.v on macos

This commit is contained in:
Delyan Angelov
2021-03-03 09:56:22 +02:00
parent c74fa9e471
commit 094936d764
2 changed files with 7 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ pub fn (mut app App) user_repo_settings(username string, repository string) vweb
[post]
['/json_echo']
pub fn (mut app App) json_echo() vweb.Result {
eprintln('>>>>> received http request at /json_echo is: $app.req')
// eprintln('>>>>> received http request at /json_echo is: $app.req')
app.set_content_type(app.req.headers['Content-Type'])
return app.ok(app.req.data)
}
@@ -89,7 +89,7 @@ pub fn (mut app App) json_echo() vweb.Result {
// Make sure [post] works without the path
[post]
pub fn (mut app App) json() vweb.Result {
eprintln('>>>>> received http request at /json is: $app.req')
// eprintln('>>>>> received http request at /json is: $app.req')
app.set_content_type(app.req.headers['Content-Type'])
return app.ok(app.req.data)
}