mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: cleanup sqlite.connect statements (do not leave strange test.db or vweb.sql artefacts around, after running common tests)
This commit is contained in:
@@ -7,7 +7,7 @@ pub mut:
|
||||
}
|
||||
|
||||
fn add_target(repo Target) !int {
|
||||
mut dbs := sqlite.connect('test.db')!
|
||||
mut dbs := sqlite.connect(':memory:')!
|
||||
defer {
|
||||
dbs.close() or { panic(err) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user