Perform magic checks on a database file for better error messaging.
This commit is contained in:
parent
6881d15358
commit
72da9341fd
11 changed files with 75 additions and 9 deletions
|
|
@ -12,6 +12,7 @@ DATABASE_PATH.removeFile()
|
|||
var db = newKuzuDatabase( $DATABASE_PATH )
|
||||
|
||||
assert db.path == $DATABASE_PATH
|
||||
assert db.kind == disk
|
||||
assert db.config == kuzuConfig()
|
||||
assert db.config.read_only == false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue