sqlite
[Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI.
Brought by drakestapleton
sqlite / autoconf / tea / teaish.test.tcl
| 1 | test-expect 1.0-open { |
| 2 | sqlite3 db :memory: |
| 3 | } {} |
| 4 | |
| 5 | test-assert 1.1-version-3.x { |
| 6 | [string match 3.* [db eval {select sqlite_version()}]] |
| 7 | } |
| 8 | |
| 9 | test-expect 1.2-select { |
| 10 | db eval {select 'hi, world',1,2,3} |
| 11 | } {{hi, world} 1 2 3} |
| 12 | |
| 13 | |
| 14 | test-expect 99.0-db-close {db close} {} |