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

test: fix sqlite_test.v

This commit is contained in:
Alexander Medvednikov
2020-06-16 12:23:52 +02:00
parent e8f8defc3e
commit 9d6b402df0
2 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@ fn test_sqlite() {
$if !linux {
return
}
db := sqlite.connect(':memory:')
db := sqlite.connect(':memory:') or { panic(err) }
db.exec("drop table if exists users")
db.exec("create table users (id integer primary key, name text default '');")