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

http: disable the tests for now

This commit is contained in:
Alexander Medvednikov 2019-08-22 22:48:31 +03:00
parent 75b632baad
commit 2eb9440095

View File

@ -21,6 +21,7 @@ fn test_http_get() {
fn test_http_get_from_vlang_utc_now() {
/*
urls := ['http://vlang.io/utc_now', 'https://vlang.io/utc_now']
for url in urls {
println('Test getting current time from $url by http.get')
@ -30,9 +31,11 @@ fn test_http_get_from_vlang_utc_now() {
assert res.text.int() > 1566403696
println('Current time is: ${res.text.int()}')
}
*/
}
fn test_public_servers() {
/*
urls := [
'http://github.com/robots.txt',
'http://google.com/robots.txt',
@ -47,4 +50,5 @@ fn test_public_servers() {
assert 200 == res.status_code
assert res.text.len > 0
}
*/
}