bring back the http test
parent
0a0bd4014c
commit
ac335269b3
|
@ -1,5 +1,5 @@
|
||||||
import net.urllib
|
import net.urllib
|
||||||
//import http
|
import http
|
||||||
|
|
||||||
fn test_escape_unescape() {
|
fn test_escape_unescape() {
|
||||||
/*
|
/*
|
||||||
|
@ -12,10 +12,8 @@ fn test_escape_unescape() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn test_http_get() {
|
fn test_http_get() {
|
||||||
/*
|
|
||||||
$if windows { return }
|
$if windows { return }
|
||||||
assert http.get_text('https://vlang.io/version') == '0.1.5'
|
assert http.get_text('https://vlang.io/version') == '0.1.5'
|
||||||
println('http ok')
|
println('http ok')
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue