mirror of
https://github.com/vlang/v.git
synced 2025-09-14 23:12:33 +03:00
sqlite: make constants public (#12485)
This commit is contained in:
parent
49a36515dc
commit
11ce26b3f6
2 changed files with 8 additions and 1 deletions
|
@ -29,3 +29,10 @@ fn test_sqlite() {
|
|||
db.close() or { panic(err) }
|
||||
assert !db.is_open
|
||||
}
|
||||
|
||||
fn test_can_access_sqlite_result_consts() {
|
||||
assert sqlite.sqlite_ok == 0
|
||||
assert sqlite.sqlite_error == 1
|
||||
assert sqlite.sqlite_row == 100
|
||||
assert sqlite.sqlite_done == 101
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue