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:
@ -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
|
||||
|
Reference in New Issue
Block a user