vweb: fix the test

pull/1623/head
Alexander Medvednikov 2019-08-16 09:58:27 +03:00
parent 09340d48a0
commit c156cef972
2 changed files with 9 additions and 2 deletions

View File

@ -125,12 +125,15 @@ fn main() {
println('use `v install` to install modules from vpm.vlang.io')
return
}
if args.join(' ').contains(' test v') {
test_v()
return
}
if 'install' in args {
if args.len < 3 {
println('usage: v install [module] [module] [...]')
return
}
names := args.slice(2, args.len)
vexec := os.executable()
vroot := os.dir(vexec)
@ -1430,3 +1433,7 @@ fn update_v() {
}
}
fn test_v() {
}

View File

@ -81,7 +81,7 @@ pub fn run<T>(port int) {
conn := l.accept() or {
panic('accept() failed')
}
foobar<T>()
//foobar<T>()
// TODO move this to handle_conn<T>(conn, app)
s := conn.read_line()
if s == '' {