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

vweb: fix serving static files

This commit is contained in:
Alexander Medvednikov
2021-05-16 04:28:11 +03:00
parent 170282b2af
commit ed6ad728d9
6 changed files with 19 additions and 4 deletions

View File

@ -21,6 +21,7 @@ fn test_sqlite() {
code = db.exec_none('vacuum')
assert code == 101
user := db.exec_one('select * from users where id = 3') or { panic(err) }
println(user)
assert user.vals.len == 2
db.close() or { panic(err) }
assert !db.is_open