Mercurial
comparison third_party/sqlite3/tea/teaish.test.tcl @ 167:589bab390fb4
[ThirdParty] Added sqlite3 to the third_party.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 19 Jan 2026 16:28:45 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 166:78ea8d5ccc87 | 167:589bab390fb4 |
|---|---|
| 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} {} |