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